]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: fix pxa25x compilation problems
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 18 Nov 2013 10:37:20 +0000 (11:37 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 25 Nov 2013 16:25:58 +0000 (10:25 -0600)
commitc6ae77746ba0ea30682d48ba64709a0049a1a836
tree0538dc0bf91f4975e9cce53497a795af292064fa
parente9497a9bf821d6b7325afbcf9af5970ad5a3e637
usb: gadget: fix pxa25x compilation problems

In commit
86d4135abdf9e6b9bc108e514db109b2effd6674
"ARM: pxa: delete the custom GPIO header"
we removed the implicit inclusion of <mach/gpio.h>
from <linux/gpio.h>.

The pxa25x_udc was not using that, but it was relying
on <linux/gpio.h> to implictly include <mach/gpio.h>
which in turn implicitly included <mach/hardware.h>,
which was needed for the driver to compile.

Fix this up by explicitly including the necessary
<mach/hardware.h> header.

Reported-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/pxa25x_udc.c