ARM: mx3: dynamically allocate imx-keypad devices
[deliverable/linux.git] / arch / arm / mach-mx3 / devices.c
index 448fe5614e4f40f247dec501a902fcd9ea26ff7a..b6672db788fb8145ff41931ffc5849335ef61535 100644 (file)
@@ -113,22 +113,3 @@ struct platform_device imx_rtc_device0 = {
        .num_resources  = ARRAY_SIZE(imx_rtc_resources),
        .resource       = imx_rtc_resources,
 };
-
-static struct resource imx_kpp_resources[] = {
-       {
-               .start  = MX3x_KPP_BASE_ADDR,
-               .end    = MX3x_KPP_BASE_ADDR + 0xf,
-               .flags  = IORESOURCE_MEM
-       }, {
-               .start  = MX3x_INT_KPP,
-               .end    = MX3x_INT_KPP,
-               .flags  = IORESOURCE_IRQ,
-       },
-};
-
-struct platform_device imx_kpp_device = {
-       .name = "imx-keypad",
-       .id = -1,
-       .num_resources = ARRAY_SIZE(imx_kpp_resources),
-       .resource = imx_kpp_resources,
-};
This page took 0.023861 seconds and 5 git commands to generate.