staging: most: video: rename module
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 21 Nov 2017 14:04:42 +0000 (15:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Nov 2017 08:20:34 +0000 (09:20 +0100)
This patch renames the folder of the video module. It is needed
to clean up the directory layout of the driver.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/Kconfig
drivers/staging/most/video/Kconfig [moved from drivers/staging/most/aim-v4l2/Kconfig with 71% similarity]
drivers/staging/most/video/Makefile [new file with mode: 0644]
drivers/staging/most/video/video.c [moved from drivers/staging/most/aim-v4l2/video.c with 100% similarity]

index 86d4f12..20047ab 100644 (file)
@@ -23,7 +23,7 @@ source "drivers/staging/most/net/Kconfig"
 
 source "drivers/staging/most/sound/Kconfig"
 
-source "drivers/staging/most/aim-v4l2/Kconfig"
+source "drivers/staging/most/video/Kconfig"
 
 source "drivers/staging/most/dim2/Kconfig"
 
similarity index 71%
rename from drivers/staging/most/aim-v4l2/Kconfig
rename to drivers/staging/most/video/Kconfig
index d70eaaf..ce6af4f 100644 (file)
@@ -2,11 +2,11 @@
 # MOST V4L2 configuration
 #
 
-config AIM_V4L2
-       tristate "V4L2 AIM"
+config MOST_VIDEO
+       tristate "Video"
        depends on VIDEO_V4L2
        ---help---
          Say Y here if you want to commumicate via Video 4 Linux.
 
          To compile this driver as a module, choose M here: the
-         module will be called aim_v4l2.
\ No newline at end of file
+         module will be called most_video.
diff --git a/drivers/staging/most/video/Makefile b/drivers/staging/most/video/Makefile
new file mode 100644 (file)
index 0000000..1c8e520
--- /dev/null
@@ -0,0 +1,4 @@
+obj-$(CONFIG_MOST_VIDEO) += most_video.o
+
+most_video-objs := video.o
+ccflags-y += -Idrivers/staging/