summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/devices.c
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-02 11:59:08 +0100
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2010-11-17 10:01:22 +0100
commit9bb39b3f600101b09cbb35e0a0deb9d56c4fe67f (patch)
tree65e5b6b88415b4ff2600fd006b2d24df97e8c9c1 /arch/arm/mach-imx/devices.c
parent6332c1071811a1d588cfc93330d87a57a7460a1b (diff)
downloadlinux-9bb39b3f600101b09cbb35e0a0deb9d56c4fe67f.tar.gz
linux-9bb39b3f600101b09cbb35e0a0deb9d56c4fe67f.tar.bz2
linux-9bb39b3f600101b09cbb35e0a0deb9d56c4fe67f.zip
ARM: imx: dynamically allocate mx1-camera device
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-imx/devices.c')
-rw-r--r--arch/arm/mach-imx/devices.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/arch/arm/mach-imx/devices.c b/arch/arm/mach-imx/devices.c
index fba628551dc9..31c9d6c583a3 100644
--- a/arch/arm/mach-imx/devices.c
+++ b/arch/arm/mach-imx/devices.c
@@ -45,31 +45,6 @@
#include "devices.h"
#if defined(CONFIG_ARCH_MX1)
-static struct resource imx1_camera_resources[] = {
- {
- .start = 0x00224000,
- .end = 0x00224010,
- .flags = IORESOURCE_MEM,
- }, {
- .start = MX1_CSI_INT,
- .end = MX1_CSI_INT,
- .flags = IORESOURCE_IRQ,
- },
-};
-
-static u64 imx1_camera_dmamask = DMA_BIT_MASK(32);
-
-struct platform_device imx1_camera_device = {
- .name = "mx1-camera",
- .id = 0, /* This is used to put cameras on this interface */
- .dev = {
- .dma_mask = &imx1_camera_dmamask,
- .coherent_dma_mask = DMA_BIT_MASK(32),
- },
- .resource = imx1_camera_resources,
- .num_resources = ARRAY_SIZE(imx1_camera_resources),
-};
-
/* GPIO port description */
static struct mxc_gpio_port imx_gpio_ports[] = {
{