diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2010-11-26 09:25:59 -0500 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-12-03 05:05:15 -0500 |
commit | b99545cb59dc0a55507100a1335f4fd0ed521032 (patch) | |
tree | dffdb51354dd1ffdf156497bcec7ebee67bb6d8e /arch/arm/plat-mxc/devices | |
parent | d94ed1287e11f91e4f4096838179984b0206be5e (diff) |
ARM: mx5: dynamically allocate imx2-wdt devices
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/plat-mxc/devices')
-rw-r--r-- | arch/arm/plat-mxc/devices/platform-imx2-wdt.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/devices/platform-imx2-wdt.c b/arch/arm/plat-mxc/devices/platform-imx2-wdt.c index c61bd4e63149..8dc19f69042d 100644 --- a/arch/arm/plat-mxc/devices/platform-imx2-wdt.c +++ b/arch/arm/plat-mxc/devices/platform-imx2-wdt.c | |||
@@ -41,6 +41,11 @@ const struct imx_imx2_wdt_data imx35_imx2_wdt_data __initconst = | |||
41 | imx_imx2_wdt_data_entry_single(MX35, SZ_16K); | 41 | imx_imx2_wdt_data_entry_single(MX35, SZ_16K); |
42 | #endif /* ifdef CONFIG_SOC_IMX35 */ | 42 | #endif /* ifdef CONFIG_SOC_IMX35 */ |
43 | 43 | ||
44 | #ifdef CONFIG_SOC_IMX51 | ||
45 | const struct imx_imx2_wdt_data imx51_imx2_wdt_data __initconst = | ||
46 | imx_imx2_wdt_data_entry_single(MX51, SZ_16K); | ||
47 | #endif /* ifdef CONFIG_SOC_IMX51 */ | ||
48 | |||
44 | struct platform_device *__init imx_add_imx2_wdt( | 49 | struct platform_device *__init imx_add_imx2_wdt( |
45 | const struct imx_imx2_wdt_data *data) | 50 | const struct imx_imx2_wdt_data *data) |
46 | { | 51 | { |