Merge branch 'master' of git://git.infradead.org/users/dedekind/mtd-tests-2.6
[sfrench/cifs-2.6.git] / arch / arm / mach-pxa / include / mach / littleton.h
index 5c4e320c1437f4e57d7fa2409183dd48be103692..6c9b21c5132254dad261aa1dba4097293248684d 100644 (file)
@@ -1,8 +1,13 @@
-#ifndef __ASM_ARCH_ZYLONITE_H
-#define __ASM_ARCH_ZYLONITE_H
+#ifndef __ASM_ARCH_LITTLETON_H
+#define __ASM_ARCH_LITTLETON_H
+
+#include <mach/gpio.h>
 
 #define LITTLETON_ETH_PHYS     0x30000000
 
 #define LITTLETON_GPIO_LCD_CS  (17)
 
-#endif /* __ASM_ARCH_ZYLONITE_H */
+#define EXT0_GPIO_BASE (NR_BUILTIN_GPIO)
+#define EXT0_GPIO(x)   (EXT0_GPIO_BASE + (x))
+
+#endif /* __ASM_ARCH_LITTLETON_H */