Linux-Media Archive on lore.kernel.org
 help / Atom feed
* [PATCH 1/1] soc_camera: Rename files for mt9t031 and imx074
@ 2019-02-09 19:00 Sakari Ailus
  0 siblings, 0 replies; 2+ messages in thread
From: Sakari Ailus @ 2019-02-09 19:00 UTC (permalink / raw)
  To: linux-media

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%)

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
-- 
2.11.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] soc_camera: Rename files for mt9t031 and imx074
@ 2019-02-09 17:58 Sakari Ailus
  0 siblings, 0 replies; 2+ messages in thread
From: Sakari Ailus @ 2019-02-09 17:58 UTC (permalink / raw)
  To: linux-media

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%)

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
-- 
2.11.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-09 19:00 [PATCH 1/1] soc_camera: Rename files for mt9t031 and imx074 Sakari Ailus
  -- strict thread matches above, loose matches on Subject: below --
2019-02-09 17:58 Sakari Ailus

Linux-Media Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-media/0 linux-media/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-media linux-media/ https://lore.kernel.org/linux-media \
		linux-media@vger.kernel.org linux-media@archiver.kernel.org
	public-inbox-index linux-media


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-media


AGPL code for this site: git clone https://public-inbox.org/ public-inbox