diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-10 03:58:56 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-17 04:01:32 -0500 |
commit | 3f880141b8d12cdbb5faf0b9941ee50ac515ea1e (patch) | |
tree | ad50ed7f31b47c4375d48df0a4c54e655423adc1 /arch/arm/mach-imx/devices-imx21.h | |
parent | bd455ed36c487b949068182bfee478b785ee090b (diff) |
ARM: imx: dynamically allocate imx-keypad devices
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/devices-imx21.h')
-rw-r--r-- | arch/arm/mach-imx/devices-imx21.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices-imx21.h b/arch/arm/mach-imx/devices-imx21.h index a97e921bc225..0c0eab17ccfd 100644 --- a/arch/arm/mach-imx/devices-imx21.h +++ b/arch/arm/mach-imx/devices-imx21.h | |||
@@ -21,6 +21,10 @@ extern const struct imx_imx_i2c_data imx21_imx_i2c_data __initconst; | |||
21 | #define imx21_add_imx_i2c(pdata) \ | 21 | #define imx21_add_imx_i2c(pdata) \ |
22 | imx_add_imx_i2c(&imx21_imx_i2c_data, pdata) | 22 | imx_add_imx_i2c(&imx21_imx_i2c_data, pdata) |
23 | 23 | ||
24 | extern const struct imx_imx_keypad_data imx21_imx_keypad_data __initconst; | ||
25 | #define imx21_add_imx_keypad(pdata) \ | ||
26 | imx_add_imx_keypad(&imx21_imx_keypad_data, pdata) | ||
27 | |||
24 | extern const struct imx_imx_ssi_data imx21_imx_ssi_data[] __initconst; | 28 | extern const struct imx_imx_ssi_data imx21_imx_ssi_data[] __initconst; |
25 | #define imx21_add_imx_ssi(id, pdata) \ | 29 | #define imx21_add_imx_ssi(id, pdata) \ |
26 | imx_add_imx_ssi(&imx21_imx_ssi_data[id], pdata) | 30 | imx_add_imx_ssi(&imx21_imx_ssi_data[id], pdata) |