]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mx2: remove mxc_irda platform device
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 23 Jun 2009 09:52:26 +0000 (11:52 +0200)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 7 Aug 2009 10:10:54 +0000 (12:10 +0200)
Irda support is handled by the normal ims serial driver, so
we do not need this device.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx2/devices.c
arch/arm/mach-mx2/devices.h

index a0f1b36743274834dac351596107d742813177c6..e6f0f4f15584d6da1b94b1d6918f722f89ac94c0 100644 (file)
 
 #include "devices.h"
 
-/*
- * Resource definition for the MXC IrDA
- */
-static struct resource mxc_irda_resources[] = {
-       [0] = {
-               .start   = UART3_BASE_ADDR,
-               .end     = UART3_BASE_ADDR + SZ_4K - 1,
-               .flags   = IORESOURCE_MEM,
-       },
-       [1] = {
-               .start   = MXC_INT_UART3,
-               .end     = MXC_INT_UART3,
-               .flags   = IORESOURCE_IRQ,
-       },
-};
-
-/* Platform Data for MXC IrDA */
-struct platform_device mxc_irda_device = {
-       .name = "mxc_irda",
-       .id = 0,
-       .num_resources = ARRAY_SIZE(mxc_irda_resources),
-       .resource = mxc_irda_resources,
-};
-
 /*
  * General Purpose Timer
  * - i.MX1: 2 timer (slighly different register handling)
index 049005bb6aa954b99f7fa2808b0aa42f059868d2..c79ba7fed1b7e2e2e79b70b68a6cb2326d4713fc 100644 (file)
@@ -4,7 +4,6 @@ extern struct platform_device mxc_gpt3;
 extern struct platform_device mxc_gpt4;
 extern struct platform_device mxc_gpt5;
 extern struct platform_device mxc_wdt;
-extern struct platform_device mxc_irda_device;
 extern struct platform_device mxc_uart_device0;
 extern struct platform_device mxc_uart_device1;
 extern struct platform_device mxc_uart_device2;