aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-mx2
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-06-23 05:52:26 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2009-08-07 06:10:54 -0400
commitaa68c02777702f05ea5f075e3001288c30ffcb1c (patch)
treea682b655da38124eab8f32f27bfc593f93aa1b05 /arch/arm/mach-mx2
parent997d74b18ae1d0d8f4c4469a5d1ce8d73ca8402c (diff)
mx2: remove mxc_irda platform device
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>
Diffstat (limited to 'arch/arm/mach-mx2')
-rw-r--r--arch/arm/mach-mx2/devices.c24
-rw-r--r--arch/arm/mach-mx2/devices.h1
2 files changed, 0 insertions, 25 deletions
diff --git a/arch/arm/mach-mx2/devices.c b/arch/arm/mach-mx2/devices.c
index a0f1b3674327..e6f0f4f15584 100644
--- a/arch/arm/mach-mx2/devices.c
+++ b/arch/arm/mach-mx2/devices.c
@@ -40,30 +40,6 @@
40#include "devices.h" 40#include "devices.h"
41 41
42/* 42/*
43 * Resource definition for the MXC IrDA
44 */
45static struct resource mxc_irda_resources[] = {
46 [0] = {
47 .start = UART3_BASE_ADDR,
48 .end = UART3_BASE_ADDR + SZ_4K - 1,
49 .flags = IORESOURCE_MEM,
50 },
51 [1] = {
52 .start = MXC_INT_UART3,
53 .end = MXC_INT_UART3,
54 .flags = IORESOURCE_IRQ,
55 },
56};
57
58/* Platform Data for MXC IrDA */
59struct platform_device mxc_irda_device = {
60 .name = "mxc_irda",
61 .id = 0,
62 .num_resources = ARRAY_SIZE(mxc_irda_resources),
63 .resource = mxc_irda_resources,
64};
65
66/*
67 * General Purpose Timer 43 * General Purpose Timer
68 * - i.MX1: 2 timer (slighly different register handling) 44 * - i.MX1: 2 timer (slighly different register handling)
69 * - i.MX21: 3 timer 45 * - i.MX21: 3 timer
diff --git a/arch/arm/mach-mx2/devices.h b/arch/arm/mach-mx2/devices.h
index 049005bb6aa9..c79ba7fed1b7 100644
--- a/arch/arm/mach-mx2/devices.h
+++ b/arch/arm/mach-mx2/devices.h
@@ -4,7 +4,6 @@ extern struct platform_device mxc_gpt3;
4extern struct platform_device mxc_gpt4; 4extern struct platform_device mxc_gpt4;
5extern struct platform_device mxc_gpt5; 5extern struct platform_device mxc_gpt5;
6extern struct platform_device mxc_wdt; 6extern struct platform_device mxc_wdt;
7extern struct platform_device mxc_irda_device;
8extern struct platform_device mxc_uart_device0; 7extern struct platform_device mxc_uart_device0;
9extern struct platform_device mxc_uart_device1; 8extern struct platform_device mxc_uart_device1;
10extern struct platform_device mxc_uart_device2; 9extern struct platform_device mxc_uart_device2;