diff options
Diffstat (limited to 'arch/arm/mach-iop33x/iq80332.c')
-rw-r--r-- | arch/arm/mach-iop33x/iq80332.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-iop33x/iq80332.c b/arch/arm/mach-iop33x/iq80332.c index 8192987e78e5..0b6269d94f89 100644 --- a/arch/arm/mach-iop33x/iq80332.c +++ b/arch/arm/mach-iop33x/iq80332.c | |||
@@ -122,8 +122,15 @@ static struct platform_device iq80332_flash_device = { | |||
122 | .resource = &iq80332_flash_resource, | 122 | .resource = &iq80332_flash_resource, |
123 | }; | 123 | }; |
124 | 124 | ||
125 | static struct resource iq80332_gpio_res[] = { | ||
126 | DEFINE_RES_MEM((IOP3XX_PERIPHERAL_PHYS_BASE + 0x1780), 0x10), | ||
127 | }; | ||
128 | |||
125 | static void __init iq80332_init_machine(void) | 129 | static void __init iq80332_init_machine(void) |
126 | { | 130 | { |
131 | platform_device_register_simple("gpio-iop", 0, | ||
132 | iq80332_gpio_res, | ||
133 | ARRAY_SIZE(iq80332_gpio_res)); | ||
127 | platform_device_register(&iop3xx_i2c0_device); | 134 | platform_device_register(&iop3xx_i2c0_device); |
128 | platform_device_register(&iop3xx_i2c1_device); | 135 | platform_device_register(&iop3xx_i2c1_device); |
129 | platform_device_register(&iop33x_uart0_device); | 136 | platform_device_register(&iop33x_uart0_device); |