summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/include/mach/tosa.h
diff options
context:
space:
mode:
authorLinus Walleij2014-02-04 13:30:05 +0100
committerKevin Hilman2014-02-10 19:32:08 +0100
commit29ffa48fa64fcdfc71d80593c8ae79248bc27677 (patch)
tree209c094e806523c482b84d1227113f106d9aeb8e /arch/arm/mach-pxa/include/mach/tosa.h
parentMerge tag 'mvebu-phy_ata-fixes-3.14' of git://git.infradead.org/linux-mvebu i... (diff)
downloadkernel-qcow2-linux-29ffa48fa64fcdfc71d80593c8ae79248bc27677.tar.gz
kernel-qcow2-linux-29ffa48fa64fcdfc71d80593c8ae79248bc27677.tar.xz
kernel-qcow2-linux-29ffa48fa64fcdfc71d80593c8ae79248bc27677.zip
ARM: pxa: fix compilation problem on AM300EPD board
This board fails compilation like this: arch/arm/mach-pxa/am300epd.c: In function ‘am300_cleanup’: arch/arm/mach-pxa/am300epd.c:179:2: error: implicit declaration of function ‘PXA_GPIO_TO_IRQ’ [-Werror=implicit-function-declaration] free_irq(PXA_GPIO_TO_IRQ(RDY_GPIO_PIN), par); This was caused by commit 88f718e3fa4d67f3a8dbe79a2f97d722323e4051 "ARM: pxa: delete the custom GPIO header" This is because it was previously getting the macro PXA_GPIO_TO_IRQ implicitly from <linux/gpio.h> which in turn implicitly included <mach/gpio.h> which in turn included <mach/irqs.h>. Add the missing include so that the board compiles again. Reported-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/tosa.h')
0 files changed, 0 insertions, 0 deletions