summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/devices-imx27.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-10 09:58:56 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-17 10:01:32 +0100
commit3f880141b8d12cdbb5faf0b9941ee50ac515ea1e (patch)
treead50ed7f31b47c4375d48df0a4c54e655423adc1 /arch/arm/mach-imx/devices-imx27.h
parentbd455ed36c487b949068182bfee478b785ee090b (diff)
downloadop-kernel-dev-3f880141b8d12cdbb5faf0b9941ee50ac515ea1e.zip
op-kernel-dev-3f880141b8d12cdbb5faf0b9941ee50ac515ea1e.tar.gz
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-imx27.h')
-rw-r--r--arch/arm/mach-imx/devices-imx27.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-imx/devices-imx27.h b/arch/arm/mach-imx/devices-imx27.h
index 51bb42d..f1272d4 100644
--- a/arch/arm/mach-imx/devices-imx27.h
+++ b/arch/arm/mach-imx/devices-imx27.h
@@ -29,6 +29,10 @@ extern const struct imx_imx_i2c_data imx27_imx_i2c_data[] __initconst;
#define imx27_add_imx_i2c(id, pdata) \
imx_add_imx_i2c(&imx27_imx_i2c_data[id], pdata)
+extern const struct imx_imx_keypad_data imx27_imx_keypad_data __initconst;
+#define imx27_add_imx_keypad(pdata) \
+ imx_add_imx_keypad(&imx27_imx_keypad_data, pdata)
+
extern const struct imx_imx_ssi_data imx27_imx_ssi_data[] __initconst;
#define imx27_add_imx_ssi(id, pdata) \
imx_add_imx_ssi(&imx27_imx_ssi_data[id], pdata)
OpenPOWER on IntegriCloud