diff options
author | David Brownell <david-b@pacbell.net> | 2007-10-30 00:15:46 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2007-10-31 15:21:52 +0000 |
commit | 558de8a74efe37a4b5e2ef944da17d23e701dd98 (patch) | |
tree | c9dc120f4ab897043463ff4de42666328a1006d5 /include/asm-arm | |
parent | 1398f679dfa167bfc656803ea86a8d1a984cbaf1 (diff) | |
download | op-kernel-dev-558de8a74efe37a4b5e2ef944da17d23e701dd98.zip op-kernel-dev-558de8a74efe37a4b5e2ef944da17d23e701dd98.tar.gz |
[ARM] 4634/1: DaVinci GPIO header build fix
This fixes a build problem with GPIOs on DaVinci. Since it inlines
operations for on-chip GPIOs, it needs some headers to support those
direct register accesses. Those headers won't be included on other
platforms, since they don't have that optimization.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Kevin Hilman <khilman@mvista.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm')
-rw-r--r-- | include/asm-arm/arch-davinci/gpio.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/arch-davinci/gpio.h b/include/asm-arm/arch-davinci/gpio.h index ea24a0e..ff8de30 100644 --- a/include/asm-arm/arch-davinci/gpio.h +++ b/include/asm-arm/arch-davinci/gpio.h @@ -13,6 +13,9 @@ #ifndef __DAVINCI_GPIO_H #define __DAVINCI_GPIO_H +#include <linux/io.h> +#include <asm/hardware.h> + /* * basic gpio routines * |