summaryrefslogtreecommitdiffstats
path: root/include/asm-arm
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-10-30 00:15:46 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-10-31 15:21:52 +0000
commit558de8a74efe37a4b5e2ef944da17d23e701dd98 (patch)
treec9dc120f4ab897043463ff4de42666328a1006d5 /include/asm-arm
parent1398f679dfa167bfc656803ea86a8d1a984cbaf1 (diff)
downloadlinux-558de8a74efe37a4b5e2ef944da17d23e701dd98.tar.gz
linux-558de8a74efe37a4b5e2ef944da17d23e701dd98.tar.bz2
linux-558de8a74efe37a4b5e2ef944da17d23e701dd98.zip
[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.h3
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 ea24a0e0bfd6..ff8de30b2fb3 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
*