diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-16 15:27:33 -0500 |
---|---|---|
committer | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2010-11-19 15:54:36 -0500 |
commit | d690b4c4778096cde018709efd005dfef9714297 (patch) | |
tree | c19176b853aaa8d2d5584a1179ee370d3323690a /arch/arm/mach-mx3/devices.c | |
parent | 742269e2d971957c84f364c4e9f5c6439964ef01 (diff) |
ARM: mx3: dynamically allocate imx-keypad devices
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-mx3/devices.c')
-rw-r--r-- | arch/arm/mach-mx3/devices.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-mx3/devices.c b/arch/arm/mach-mx3/devices.c index 448fe5614e4f..b6672db788fb 100644 --- a/arch/arm/mach-mx3/devices.c +++ b/arch/arm/mach-mx3/devices.c | |||
@@ -113,22 +113,3 @@ struct platform_device imx_rtc_device0 = { | |||
113 | .num_resources = ARRAY_SIZE(imx_rtc_resources), | 113 | .num_resources = ARRAY_SIZE(imx_rtc_resources), |
114 | .resource = imx_rtc_resources, | 114 | .resource = imx_rtc_resources, |
115 | }; | 115 | }; |
116 | |||
117 | static struct resource imx_kpp_resources[] = { | ||
118 | { | ||
119 | .start = MX3x_KPP_BASE_ADDR, | ||
120 | .end = MX3x_KPP_BASE_ADDR + 0xf, | ||
121 | .flags = IORESOURCE_MEM | ||
122 | }, { | ||
123 | .start = MX3x_INT_KPP, | ||
124 | .end = MX3x_INT_KPP, | ||
125 | .flags = IORESOURCE_IRQ, | ||
126 | }, | ||
127 | }; | ||
128 | |||
129 | struct platform_device imx_kpp_device = { | ||
130 | .name = "imx-keypad", | ||
131 | .id = -1, | ||
132 | .num_resources = ARRAY_SIZE(imx_kpp_resources), | ||
133 | .resource = imx_kpp_resources, | ||
134 | }; | ||