diff options
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r-- | arch/arm/mach-at91/board-snapper9260.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/gpio.h | 11 | ||||
-rw-r--r-- | arch/arm/mach-at91/include/mach/memory.h | 2 |
3 files changed, 4 insertions, 10 deletions
diff --git a/arch/arm/mach-at91/board-snapper9260.c b/arch/arm/mach-at91/board-snapper9260.c index 0a99b3cedd7a..17f7d9b32142 100644 --- a/arch/arm/mach-at91/board-snapper9260.c +++ b/arch/arm/mach-at91/board-snapper9260.c | |||
@@ -153,6 +153,7 @@ static struct i2c_board_info __initdata snapper9260_i2c_devices[] = { | |||
153 | { | 153 | { |
154 | /* RTC */ | 154 | /* RTC */ |
155 | I2C_BOARD_INFO("isl1208", 0x6f), | 155 | I2C_BOARD_INFO("isl1208", 0x6f), |
156 | .irq = gpio_to_irq(AT91_PIN_PA31), | ||
156 | }, | 157 | }, |
157 | }; | 158 | }; |
158 | 159 | ||
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 |