diff options
Diffstat (limited to 'arch/arm/mach-iop32x/glantank.c')
-rw-r--r-- | arch/arm/mach-iop32x/glantank.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/mach-iop32x/glantank.c b/arch/arm/mach-iop32x/glantank.c index 74c65ce221de..d2a7b04f1cb0 100644 --- a/arch/arm/mach-iop32x/glantank.c +++ b/arch/arm/mach-iop32x/glantank.c | |||
@@ -14,8 +14,10 @@ | |||
14 | 14 | ||
15 | #include <linux/mm.h> | 15 | #include <linux/mm.h> |
16 | #include <linux/init.h> | 16 | #include <linux/init.h> |
17 | #include <linux/f75375s.h> | ||
17 | #include <linux/kernel.h> | 18 | #include <linux/kernel.h> |
18 | #include <linux/pci.h> | 19 | #include <linux/pci.h> |
20 | #include <linux/pm.h> | ||
19 | #include <linux/string.h> | 21 | #include <linux/string.h> |
20 | #include <linux/slab.h> | 22 | #include <linux/slab.h> |
21 | #include <linux/serial_core.h> | 23 | #include <linux/serial_core.h> |
@@ -167,11 +169,21 @@ static struct platform_device glantank_serial_device = { | |||
167 | .resource = &glantank_uart_resource, | 169 | .resource = &glantank_uart_resource, |
168 | }; | 170 | }; |
169 | 171 | ||
172 | static struct f75375s_platform_data glantank_f75375s = { | ||
173 | .pwm = { 255, 255 }, | ||
174 | .pwm_enable = { 0, 0 }, | ||
175 | }; | ||
176 | |||
170 | static struct i2c_board_info __initdata glantank_i2c_devices[] = { | 177 | static struct i2c_board_info __initdata glantank_i2c_devices[] = { |
171 | { | 178 | { |
172 | I2C_BOARD_INFO("rtc-rs5c372", 0x32), | 179 | I2C_BOARD_INFO("rtc-rs5c372", 0x32), |
173 | .type = "rs5c372a", | 180 | .type = "rs5c372a", |
174 | }, | 181 | }, |
182 | { | ||
183 | I2C_BOARD_INFO("f75375", 0x2e), | ||
184 | .type = "f75375", | ||
185 | .platform_data = &glantank_f75375s, | ||
186 | }, | ||
175 | }; | 187 | }; |
176 | 188 | ||
177 | static void glantank_power_off(void) | 189 | static void glantank_power_off(void) |