]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ARM] 4634/1: DaVinci GPIO header build fix
authorDavid Brownell <david-b@pacbell.net>
Mon, 29 Oct 2007 23:15:46 +0000 (00:15 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 31 Oct 2007 15:21:52 +0000 (15:21 +0000)
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>
include/asm-arm/arch-davinci/gpio.h

index ea24a0e0bfd672137d686b57c4277d51566f7c36..ff8de30b2fb36e65405779532177ae57990f920a 100644 (file)
@@ -13,6 +13,9 @@
 #ifndef        __DAVINCI_GPIO_H
 #define        __DAVINCI_GPIO_H
 
+#include <linux/io.h>
+#include <asm/hardware.h>
+
 /*
  * basic gpio routines
  *