usb: gadget: pxa25x_udc: use correct header for gpio devm_ functions
authorArnd Bergmann <arnd@arndb.de>
Wed, 9 Jul 2014 09:24:44 +0000 (11:24 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 10 Jul 2014 13:36:50 +0000 (08:36 -0500)
commit c63d2225e7be ("usb: gadget: pxa25x_udc: use devm_ functions")
introduced the use of devm_gpio_request in this driver, but did not
correctly include the header file declaring this function, which
causes a build failure.

This changes pxa25x_udc to include linux/gpio.h instead of asm/gpio.h
to fix this.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Himangi Saraogi <himangi774@gmail.com>
Cc: Julia Lawall <julia.lawall@lip6.fr>
Cc: Felipe Balbi <balbi@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/pxa25x_udc.c

index f1a5cdcd70ffcbffc8dcf4bc473d05a9590cf6c7..251e4d5ee152b950cdd06e6a9a875526942ddcf2 100644 (file)
@@ -16,6 +16,7 @@
 /* #define VERBOSE_DEBUG */
 
 #include <linux/device.h>
+#include <linux/gpio.h>
 #include <linux/module.h>
 #include <linux/kernel.h>
 #include <linux/ioport.h>
@@ -40,7 +41,6 @@
 
 #include <asm/byteorder.h>
 #include <asm/dma.h>
-#include <asm/gpio.h>
 #include <asm/mach-types.h>
 #include <asm/unaligned.h>
 
This page took 0.032609 seconds and 5 git commands to generate.