Skip to contentSkip to conversation

mem2mem_testdev: rename to vim2m.

PATCH New Hans Verkuil 1 participant 1 message Sep 22, 2014 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mem2mem_testdev: rename to vim2m.

This is 1) *much* easier to type, and 2) is consistent with vivid ('vi' for virtual). More of such virtual drivers are planned, so keeping the naming consistent makes sense.

Note that the old module name is retained as a module alias.

---
 drivers/media/platform/Kconfig                     |   4 +-
 drivers/media/platform/Makefile                    |   2 +-
 .../media/platform/{mem2mem_testdev.c => vim2m.c}  | 221 ++++++++++-----------
 3 files changed, 113 insertions(+), 114 deletions(-)
 rename drivers/media/platform/{mem2mem_testdev.c => vim2m.c} (81%)
drivers/media/platform/Kconfig +2 -2
index bee9074..4c3e957 100644
@@ -267,8 +267,8 @@ if V4L_TEST_DRIVERS
 
 source "drivers/media/platform/vivid/Kconfig"
 
-config VIDEO_MEM2MEM_TESTDEV
-	tristate "Virtual test device for mem2mem framework"
+config VIDEO_VIM2M
+	tristate "Virtual Memory-to-Memory Driver"
 	depends on VIDEO_DEV && VIDEO_V4L2
 	select VIDEOBUF2_VMALLOC
 	select V4L2_MEM2MEM_DEV
drivers/media/platform/Makefile +1 -1
index 8d3fcfe..a5c61b0 100644
@@ -17,7 +17,7 @@ obj-$(CONFIG_VIDEO_OMAP3)	+= omap3isp/
 obj-$(CONFIG_VIDEO_VIU) += fsl-viu.o
 
 obj-$(CONFIG_VIDEO_VIVID)		+= vivid/
-obj-$(CONFIG_VIDEO_MEM2MEM_TESTDEV) += mem2mem_testdev.o
+obj-$(CONFIG_VIDEO_VIM2M)		+= vim2m.o
 
 obj-$(CONFIG_VIDEO_TI_VPE)		+= ti-vpe/
 
drivers/media/platform/vim2m.c renamed from drivers/media/platform/mem2mem_testdev.c +110 -111

566 lines not on this page · raw message

Signature · 1 line
2.1.0