]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
media: soc_camera: Move the imx074 under soc_camera directory
authorSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 7 Feb 2019 13:47:01 +0000 (08:47 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Mon, 18 Feb 2019 17:11:49 +0000 (12:11 -0500)
Move the imx074 driver to the soc_camera directory in the media staging
tree.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/Kconfig
drivers/staging/media/Makefile
drivers/staging/media/imx074/Kconfig [deleted file]
drivers/staging/media/imx074/Makefile [deleted file]
drivers/staging/media/imx074/TODO [deleted file]
drivers/staging/media/soc_camera/Kconfig
drivers/staging/media/soc_camera/Makefile
drivers/staging/media/soc_camera/imx074.c [moved from drivers/staging/media/imx074/imx074.c with 100% similarity]

index 7c3f443f273583fdc6221f10dfb7014843c3c640..fce8933216241d3632370346f936cc649c0d1225 100644 (file)
@@ -25,8 +25,6 @@ source "drivers/staging/media/davinci_vpfe/Kconfig"
 
 source "drivers/staging/media/imx/Kconfig"
 
-source "drivers/staging/media/imx074/Kconfig"
-
 source "drivers/staging/media/mt9t031/Kconfig"
 
 source "drivers/staging/media/omap4iss/Kconfig"
index 9c1bb862f5c92b1930e51b14fdb115e21c017202..74920289b0d94c126f38ae0b45b4118a02ac1dc1 100644 (file)
@@ -1,7 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0
 obj-$(CONFIG_I2C_BCM2048)      += bcm2048/
 obj-$(CONFIG_VIDEO_IMX_MEDIA)  += imx/
-obj-$(CONFIG_SOC_CAMERA_IMX074)        += imx074/
 obj-$(CONFIG_SOC_CAMERA_MT9T031)       += mt9t031/
 obj-$(CONFIG_VIDEO_DM365_VPFE) += davinci_vpfe/
 obj-$(CONFIG_VIDEO_OMAP4)      += omap4iss/
diff --git a/drivers/staging/media/imx074/Kconfig b/drivers/staging/media/imx074/Kconfig
deleted file mode 100644 (file)
index 229cbee..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-config SOC_CAMERA_IMX074
-       tristate "imx074 support (DEPRECATED)"
-       depends on SOC_CAMERA && I2C
-       help
-         This driver supports IMX074 cameras from Sony
diff --git a/drivers/staging/media/imx074/Makefile b/drivers/staging/media/imx074/Makefile
deleted file mode 100644 (file)
index 7d18357..0000000
+++ /dev/null
@@ -1 +0,0 @@
-obj-$(CONFIG_SOC_CAMERA_IMX074)                += imx074.o
diff --git a/drivers/staging/media/imx074/TODO b/drivers/staging/media/imx074/TODO
deleted file mode 100644 (file)
index 15580a4..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-This sensor driver needs to be converted to a regular
-v4l2 subdev driver. The soc_camera framework is deprecated and
-will be removed in the future. Unless someone does this work this
-sensor driver will be deleted when the soc_camera framework is
-deleted.
index ebd78cebd4ecb7e746526f898834381418a3b22a..e6bd04840971cce29dd0df601702f10066af2995 100644 (file)
@@ -6,6 +6,7 @@ config SOC_CAMERA
          SoC Camera is a common API to several cameras, not connecting
          over a bus like PCI or USB. For example some i2c camera connected
          directly to the data bus of an SoC.
+
 comment "soc_camera sensor drivers"
 
 config SOC_CAMERA_MT9M111
@@ -35,3 +36,9 @@ config SOC_CAMERA_OV9740
        depends on SOC_CAMERA && I2C
        help
          This is a ov9740 camera driver
+
+config SOC_CAMERA_IMX074
+       tristate "imx074 support (DEPRECATED)"
+       depends on SOC_CAMERA && I2C
+       help
+         This driver supports IMX074 cameras from Sony
index e03450cee5249eaed2ec874f3ae821c15d5e4f6e..09560dc32c4c7c5073d1f10f2e6ba73cb852491e 100644 (file)
@@ -3,3 +3,4 @@ obj-$(CONFIG_SOC_CAMERA)                += soc_camera.o soc_mediabus.o
 obj-$(CONFIG_SOC_CAMERA_MT9V022)       += soc_mt9v022.o
 obj-$(CONFIG_SOC_CAMERA_OV5642)                += soc_ov5642.o
 obj-$(CONFIG_SOC_CAMERA_OV9740)                += soc_ov9740.o
+obj-$(CONFIG_SOC_CAMERA_IMX074)                += imx074.o