LinuxTV Patchwork [1/1] soc_camera: Rename files for mt9t031 and imx074

login
register
mail settings
Submitter Sakari Ailus
Date Feb. 9, 2019, 5:58 p.m.
Message ID <20190209175855.12339-1-sakari.ailus@linux.intel.com>
Download mbox | patch
Permalink /patch/54432/
State New
Headers show

Comments

Sakari Ailus - Feb. 9, 2019, 5:58 p.m.
Rename files (as well as modules) of the mt9t031 and imx074 SoC camera
drivers to align with the rest of them, i.e. adding the "soc_" prefix.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
This goes on top of my previous SoC camera patches.

 drivers/staging/media/soc_camera/Makefile                     | 4 ++--
 drivers/staging/media/soc_camera/{imx074.c => soc_imx074.c}   | 0
 drivers/staging/media/soc_camera/{mt9t031.c => soc_mt9t031.c} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename drivers/staging/media/soc_camera/{imx074.c => soc_imx074.c} (100%)
 rename drivers/staging/media/soc_camera/{mt9t031.c => soc_mt9t031.c} (100%)

Patch

diff --git a/drivers/staging/media/soc_camera/Makefile b/drivers/staging/media/soc_camera/Makefile
index 3a351bd629f5..e3a1f0504f04 100644
--- a/drivers/staging/media/soc_camera/Makefile
+++ b/drivers/staging/media/soc_camera/Makefile
@@ -3,5 +3,5 @@  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
-obj-$(CONFIG_SOC_CAMERA_MT9T031)	+= mt9t031.o
+obj-$(CONFIG_SOC_CAMERA_IMX074)		+= soc_imx074.o
+obj-$(CONFIG_SOC_CAMERA_MT9T031)	+= soc_mt9t031.o
diff --git a/drivers/staging/media/soc_camera/imx074.c b/drivers/staging/media/soc_camera/soc_imx074.c
similarity index 100%
rename from drivers/staging/media/soc_camera/imx074.c
rename to drivers/staging/media/soc_camera/soc_imx074.c
diff --git a/drivers/staging/media/soc_camera/mt9t031.c b/drivers/staging/media/soc_camera/soc_mt9t031.c
similarity index 100%
rename from drivers/staging/media/soc_camera/mt9t031.c
rename to drivers/staging/media/soc_camera/soc_mt9t031.c

Privacy Policy