diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-at91/board-snapper9260.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/arm/mach-at91/board-snapper9260.c b/arch/arm/mach-at91/board-snapper9260.c index 4770db08e5a6..3c2e3fcc310c 100644 --- a/arch/arm/mach-at91/board-snapper9260.c +++ b/arch/arm/mach-at91/board-snapper9260.c | |||
@@ -145,11 +145,11 @@ static struct i2c_board_info __initdata snapper9260_i2c_devices[] = { | |||
145 | /* Audio codec */ | 145 | /* Audio codec */ |
146 | I2C_BOARD_INFO("tlv320aic23", 0x1a), | 146 | I2C_BOARD_INFO("tlv320aic23", 0x1a), |
147 | }, | 147 | }, |
148 | { | 148 | }; |
149 | |||
150 | static struct i2c_board_info __initdata snapper9260_i2c_isl1208 = { | ||
149 | /* RTC */ | 151 | /* RTC */ |
150 | I2C_BOARD_INFO("isl1208", 0x6f), | 152 | I2C_BOARD_INFO("isl1208", 0x6f), |
151 | .irq = gpio_to_irq(AT91_PIN_PA31), | ||
152 | }, | ||
153 | }; | 153 | }; |
154 | 154 | ||
155 | static void __init snapper9260_add_device_nand(void) | 155 | static void __init snapper9260_add_device_nand(void) |
@@ -163,6 +163,10 @@ static void __init snapper9260_board_init(void) | |||
163 | { | 163 | { |
164 | at91_add_device_i2c(snapper9260_i2c_devices, | 164 | at91_add_device_i2c(snapper9260_i2c_devices, |
165 | ARRAY_SIZE(snapper9260_i2c_devices)); | 165 | ARRAY_SIZE(snapper9260_i2c_devices)); |
166 | |||
167 | snapper9260_i2c_isl1208.irq = gpio_to_irq(AT91_PIN_PA31); | ||
168 | i2c_register_board_info(0, &snapper9260_i2c_isl1208, 1); | ||
169 | |||
166 | at91_add_device_serial(); | 170 | at91_add_device_serial(); |
167 | at91_add_device_usbh(&snapper9260_usbh_data); | 171 | at91_add_device_usbh(&snapper9260_usbh_data); |
168 | at91_add_device_udc(&snapper9260_udc_data); | 172 | at91_add_device_udc(&snapper9260_udc_data); |