diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-07-09 11:24:44 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-07-10 15:36:50 +0200 |
commit | 56e5cea9047e96bd58de5bca760c055cc35036aa (patch) | |
tree | 88673d8267b47211a8ce858e72fd02280f57f2e8 | |
parent | usb: renesas_usbhs: gadget: fix re-enabling pipe without re-connecting (diff) | |
download | linux-56e5cea9047e96bd58de5bca760c055cc35036aa.tar.xz linux-56e5cea9047e96bd58de5bca760c055cc35036aa.zip |
usb: gadget: pxa25x_udc: use correct header for gpio devm_ functions
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>
-rw-r--r-- | drivers/usb/gadget/pxa25x_udc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/pxa25x_udc.c b/drivers/usb/gadget/pxa25x_udc.c index f1a5cdcd70ff..251e4d5ee152 100644 --- a/drivers/usb/gadget/pxa25x_udc.c +++ b/drivers/usb/gadget/pxa25x_udc.c @@ -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> |