summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx5/devices-imx51.h
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2010-12-06 16:38:32 -0200
committerSascha Hauer <s.hauer@pengutronix.de>2010-12-07 20:03:11 +0100
commit8c2efec3cd5fcc6240da8931222ccab556a40ff3 (patch)
tree01640b908b69dbaf6f681f5308406ade1917c8e7 /arch/arm/mach-mx5/devices-imx51.h
parent0e44e059588e1d91f3a1974d2ce3348864d1d799 (diff)
downloadblackbird-op-linux-8c2efec3cd5fcc6240da8931222ccab556a40ff3.tar.gz
blackbird-op-linux-8c2efec3cd5fcc6240da8931222ccab556a40ff3.zip
ARM: mx5: add support for the two watchdog modules
MX51 has two watchdog modules. Add support for both of them. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx5/devices-imx51.h')
-rw-r--r--arch/arm/mach-mx5/devices-imx51.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-mx5/devices-imx51.h b/arch/arm/mach-mx5/devices-imx51.h
index 939d2e813708..6302e4670000 100644
--- a/arch/arm/mach-mx5/devices-imx51.h
+++ b/arch/arm/mach-mx5/devices-imx51.h
@@ -44,6 +44,6 @@ extern const struct imx_spi_imx_data imx51_ecspi_data[] __initconst;
#define imx51_add_ecspi(id, pdata) \
imx_add_spi_imx(&imx51_ecspi_data[id], pdata)
-extern const struct imx_imx2_wdt_data imx51_imx2_wdt_data __initconst;
-#define imx51_imx2_wdt_data(pdata) \
- imx_add_imx2_wdt_data(&imx51_imx2_wdt_data, pdata)
+extern const struct imx_imx2_wdt_data imx51_imx2_wdt_data[] __initconst;
+#define imx51_add_imx2_wdt(id, pdata) \
+ imx_add_imx2_wdt(&imx51_imx2_wdt_data[id])
OpenPOWER on IntegriCloud