diff options
Diffstat (limited to 'arch/arm/mach-imx/devices.c')
-rw-r--r-- | arch/arm/mach-imx/devices.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/arch/arm/mach-imx/devices.c b/arch/arm/mach-imx/devices.c index 31c9d6c583a3..0c5ade48d598 100644 --- a/arch/arm/mach-imx/devices.c +++ b/arch/arm/mach-imx/devices.c | |||
@@ -77,38 +77,6 @@ int __init imx1_register_gpios(void) | |||
77 | #endif | 77 | #endif |
78 | 78 | ||
79 | #if defined(CONFIG_MACH_MX21) || defined(CONFIG_MACH_MX27) | 79 | #if defined(CONFIG_MACH_MX21) || defined(CONFIG_MACH_MX27) |
80 | |||
81 | #ifdef CONFIG_MACH_MX27 | ||
82 | static struct resource mx27_camera_resources[] = { | ||
83 | { | ||
84 | .start = MX27_CSI_BASE_ADDR, | ||
85 | .end = MX27_CSI_BASE_ADDR + 0x1f, | ||
86 | .flags = IORESOURCE_MEM, | ||
87 | }, { | ||
88 | .start = MX27_EMMA_PRP_BASE_ADDR, | ||
89 | .end = MX27_EMMA_PRP_BASE_ADDR + 0x1f, | ||
90 | .flags = IORESOURCE_MEM, | ||
91 | }, { | ||
92 | .start = MX27_INT_CSI, | ||
93 | .end = MX27_INT_CSI, | ||
94 | .flags = IORESOURCE_IRQ, | ||
95 | },{ | ||
96 | .start = MX27_INT_EMMAPRP, | ||
97 | .end = MX27_INT_EMMAPRP, | ||
98 | .flags = IORESOURCE_IRQ, | ||
99 | }, | ||
100 | }; | ||
101 | struct platform_device mx27_camera_device = { | ||
102 | .name = "mx2-camera", | ||
103 | .id = 0, | ||
104 | .num_resources = ARRAY_SIZE(mx27_camera_resources), | ||
105 | .resource = mx27_camera_resources, | ||
106 | .dev = { | ||
107 | .coherent_dma_mask = 0xffffffff, | ||
108 | }, | ||
109 | }; | ||
110 | #endif | ||
111 | |||
112 | /* Watchdog: i.MX1 has seperate driver, i.MX21 and i.MX27 are equal */ | 80 | /* Watchdog: i.MX1 has seperate driver, i.MX21 and i.MX27 are equal */ |
113 | static struct resource mxc_wdt_resources[] = { | 81 | static struct resource mxc_wdt_resources[] = { |
114 | { | 82 | { |