Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=558de8a74efe37a4b5e2ef944da17d23e701dd98
Commit:     558de8a74efe37a4b5e2ef944da17d23e701dd98
Parent:     1398f679dfa167bfc656803ea86a8d1a984cbaf1
Author:     David Brownell <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 30 00:15:46 2007 +0100
Committer:  Russell King <[EMAIL PROTECTED]>
CommitDate: Wed Oct 31 15:21:52 2007 +0000

    [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 <[EMAIL PROTECTED]>
    Acked-by: Kevin Hilman <[EMAIL PROTECTED]>
    Signed-off-by: Russell King <[EMAIL PROTECTED]>
---
 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
  *
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to