diff options
Diffstat (limited to 'arch/arm/mach-at91/include/mach')
-rw-r--r-- | arch/arm/mach-at91/include/mach/gpio.h | 11 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/memory.h | 2 |
2 files changed, 3 insertions, 10 deletions
diff --git a/arch/arm/mach-at91/include/mach/gpio.h b/arch/arm/mach-at91/include/mach/gpio.h index bfdd8ab26dc8..ddeb64536756 100644 --- a/arch/arm/mach-at91/include/mach/gpio.h +++ b/arch/arm/mach-at91/include/mach/gpio.h | |||
@@ -220,15 +220,8 @@ extern void at91_gpio_resume(void); | |||
220 | #define gpio_set_value __gpio_set_value | 220 | #define gpio_set_value __gpio_set_value |
221 | #define gpio_cansleep __gpio_cansleep | 221 | #define gpio_cansleep __gpio_cansleep |
222 | 222 | ||
223 | static inline int gpio_to_irq(unsigned gpio) | 223 | #define gpio_to_irq(gpio) (gpio) |
224 | { | 224 | #define irq_to_gpio(irq) (irq) |
225 | return gpio; | ||
226 | } | ||
227 | |||
228 | static inline int irq_to_gpio(unsigned irq) | ||
229 | { | ||
230 | return irq; | ||
231 | } | ||
232 | 225 | ||
233 | #endif /* __ASSEMBLY__ */ | 226 | #endif /* __ASSEMBLY__ */ |
234 | 227 | ||
diff --git a/arch/arm/mach-at91/include/mach/memory.h b/arch/arm/mach-at91/include/mach/memory.h index 14f4ef4b6a9e..c2cfe5040642 100644 --- a/arch/arm/mach-at91/include/mach/memory.h +++ b/arch/arm/mach-at91/include/mach/memory.h | |||
@@ -23,6 +23,6 @@ | |||
23 | 23 | ||
24 | #include <mach/hardware.h> | 24 | #include <mach/hardware.h> |
25 | 25 | ||
26 | #define PHYS_OFFSET (AT91_SDRAM_BASE) | 26 | #define PLAT_PHYS_OFFSET (AT91_SDRAM_BASE) |
27 | 27 | ||
28 | #endif | 28 | #endif |