diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-04 05:09:10 -0400 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-17 04:01:25 -0500 |
commit | e0a1961df8ad898b661cf0adcf3519254f135a44 (patch) | |
tree | bc663100b851b8cf06157fa6a967393bef39a8a9 /arch/arm/mach-imx/devices.c | |
parent | b2997cb12b302ee6d233808e32214d00afdcf128 (diff) |
ARM: imx: dynamically allocate imx2-wdt devices
Currently there is no platform data used in the driver. In case this
changes and for consistency NULL is passed unused to the soc specific
functions.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/devices.c')
-rw-r--r-- | arch/arm/mach-imx/devices.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-imx/devices.c b/arch/arm/mach-imx/devices.c index 0c5ade48d598..20655fb10a57 100644 --- a/arch/arm/mach-imx/devices.c +++ b/arch/arm/mach-imx/devices.c | |||
@@ -77,22 +77,6 @@ int __init imx1_register_gpios(void) | |||
77 | #endif | 77 | #endif |
78 | 78 | ||
79 | #if defined(CONFIG_MACH_MX21) || defined(CONFIG_MACH_MX27) | 79 | #if defined(CONFIG_MACH_MX21) || defined(CONFIG_MACH_MX27) |
80 | /* Watchdog: i.MX1 has seperate driver, i.MX21 and i.MX27 are equal */ | ||
81 | static struct resource mxc_wdt_resources[] = { | ||
82 | { | ||
83 | .start = MX2x_WDOG_BASE_ADDR, | ||
84 | .end = MX2x_WDOG_BASE_ADDR + SZ_4K - 1, | ||
85 | .flags = IORESOURCE_MEM, | ||
86 | }, | ||
87 | }; | ||
88 | |||
89 | struct platform_device mxc_wdt = { | ||
90 | .name = "imx2-wdt", | ||
91 | .id = 0, | ||
92 | .num_resources = ARRAY_SIZE(mxc_wdt_resources), | ||
93 | .resource = mxc_wdt_resources, | ||
94 | }; | ||
95 | |||
96 | /* | 80 | /* |
97 | * lcdc: | 81 | * lcdc: |
98 | * - i.MX1: the basic controller | 82 | * - i.MX1: the basic controller |