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/plat-mxc/include/mach/devices-common.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/plat-mxc/include/mach/devices-common.h')
-rw-r--r-- | arch/arm/plat-mxc/include/mach/devices-common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/plat-mxc/include/mach/devices-common.h b/arch/arm/plat-mxc/include/mach/devices-common.h index f01fd28dd4f6..1a672999d838 100644 --- a/arch/arm/plat-mxc/include/mach/devices-common.h +++ b/arch/arm/plat-mxc/include/mach/devices-common.h | |||
@@ -83,6 +83,15 @@ struct platform_device *__init imx_add_imx_i2c( | |||
83 | const struct imx_imx_i2c_data *data, | 83 | const struct imx_imx_i2c_data *data, |
84 | const struct imxi2c_platform_data *pdata); | 84 | const struct imxi2c_platform_data *pdata); |
85 | 85 | ||
86 | #include <linux/input/matrix_keypad.h> | ||
87 | struct imx_imx_keypad_data { | ||
88 | resource_size_t iobase; | ||
89 | resource_size_t irq; | ||
90 | }; | ||
91 | struct platform_device *__init imx_add_imx_keypad( | ||
92 | const struct imx_imx_keypad_data *data, | ||
93 | const struct matrix_keymap_data *pdata); | ||
94 | |||
86 | #include <mach/ssi.h> | 95 | #include <mach/ssi.h> |
87 | struct imx_imx_ssi_data { | 96 | struct imx_imx_ssi_data { |
88 | int id; | 97 | int id; |