diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-15 15:28:45 +0100 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-19 21:54:36 +0100 |
commit | 742269e2d971957c84f364c4e9f5c6439964ef01 (patch) | |
tree | bebc9ea6b88df9424494000316e5b0c1098becdb /arch/arm/mach-mx3/devices-imx35.h | |
parent | 2d58de2805f93bdb8fa0608d98e1871bb28ec091 (diff) | |
download | blackbird-obmc-linux-742269e2d971957c84f364c4e9f5c6439964ef01.tar.gz blackbird-obmc-linux-742269e2d971957c84f364c4e9f5c6439964ef01.zip |
ARM: mx3: dynamically allocate imx2-wdt devices
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/devices-imx35.h')
-rw-r--r-- | arch/arm/mach-mx3/devices-imx35.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/devices-imx35.h b/arch/arm/mach-mx3/devices-imx35.h index 849c48a2c472..763ee9754773 100644 --- a/arch/arm/mach-mx3/devices-imx35.h +++ b/arch/arm/mach-mx3/devices-imx35.h @@ -23,6 +23,10 @@ extern const struct imx_flexcan_data imx35_flexcan_data[] __initconst; #define imx35_add_flexcan0(pdata) imx35_add_flexcan(0, pdata) #define imx35_add_flexcan1(pdata) imx35_add_flexcan(1, pdata) +extern const struct imx_imx2_wdt_data imx35_imx2_wdt_data __initconst; +#define imx35_add_imx2_wdt(pdata) \ + imx_add_imx2_wdt(&imx35_imx2_wdt_data) + extern const struct imx_imx_i2c_data imx35_imx_i2c_data[] __initconst; #define imx35_add_imx_i2c(id, pdata) \ imx_add_imx_i2c(&imx35_imx_i2c_data[id], pdata) |