summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/devices/platform-mx1-camera.c
diff options
context:
space:
mode:
authorAlexander Shiyan <shc_work@mail.ru>2014-07-05 08:51:38 +0400
committerShawn Guo <shawn.guo@freescale.com>2014-07-18 16:11:37 +0800
commit35e3bc535d0437ca5f32985a294703ce48c75d88 (patch)
treef7169dcb067fb55211d964eb4a72f3f33eecfa7d /arch/arm/mach-imx/devices/platform-mx1-camera.c
parentd3a22442307a37225d99a5137fcbd9fbb2f5c343 (diff)
downloadtalos-op-linux-35e3bc535d0437ca5f32985a294703ce48c75d88.tar.gz
talos-op-linux-35e3bc535d0437ca5f32985a294703ce48c75d88.zip
ARM: i.MX: Remove i.MX1 camera support
i.MX1 camera driver has been removed by the commit 90b055898e. This patch removes remaining support files for this camera. Signed-off-by: Alexander Shiyan <shc_work@mail.ru> Signed-off-by: Shawn Guo <shawn.guo@freescale.com>
Diffstat (limited to 'arch/arm/mach-imx/devices/platform-mx1-camera.c')
-rw-r--r--arch/arm/mach-imx/devices/platform-mx1-camera.c42
1 files changed, 0 insertions, 42 deletions
diff --git a/arch/arm/mach-imx/devices/platform-mx1-camera.c b/arch/arm/mach-imx/devices/platform-mx1-camera.c
deleted file mode 100644
index 2c6788131080..000000000000
--- a/arch/arm/mach-imx/devices/platform-mx1-camera.c
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (C) 2010 Pengutronix
- * Uwe Kleine-Koenig <u.kleine-koenig@pengutronix.de>
- *
- * This program is free software; you can redistribute it and/or modify it under
- * the terms of the GNU General Public License version 2 as published by the
- * Free Software Foundation.
- */
-#include "../hardware.h"
-#include "devices-common.h"
-
-#define imx_mx1_camera_data_entry_single(soc, _size) \
- { \
- .iobase = soc ## _CSI ## _BASE_ADDR, \
- .iosize = _size, \
- .irq = soc ## _INT_CSI, \
- }
-
-#ifdef CONFIG_SOC_IMX1
-const struct imx_mx1_camera_data imx1_mx1_camera_data __initconst =
- imx_mx1_camera_data_entry_single(MX1, 10);
-#endif /* ifdef CONFIG_SOC_IMX1 */
-
-struct platform_device *__init imx_add_mx1_camera(
- const struct imx_mx1_camera_data *data,
- const struct mx1_camera_pdata *pdata)
-{
- struct resource res[] = {
- {
- .start = data->iobase,
- .end = data->iobase + data->iosize - 1,
- .flags = IORESOURCE_MEM,
- }, {
- .start = data->irq,
- .end = data->irq,
- .flags = IORESOURCE_IRQ,
- },
- };
- return imx_add_platform_device_dmamask("mx1-camera", 0,
- res, ARRAY_SIZE(res),
- pdata, sizeof(*pdata), DMA_BIT_MASK(32));
-}
OpenPOWER on IntegriCloud