]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: most: cdev: rename module
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 21 Nov 2017 14:04:36 +0000 (15:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Nov 2017 08:20:33 +0000 (09:20 +0100)
This patch renames the folder of the cdev module. This is needed
to clear the directory layout.

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/cdev/Kconfig [moved from drivers/staging/most/aim-cdev/Kconfig with 70% similarity]
drivers/staging/most/cdev/Makefile [new file with mode: 0644]
drivers/staging/most/cdev/cdev.c [moved from drivers/staging/most/aim-cdev/cdev.c with 100% similarity]

index 2045f7ac508175ddceac9a1267f37dc182e241e2..60a2825e607624bd26db8729efd7d1b04693b655 100644 (file)
@@ -17,7 +17,7 @@ menuconfig MOST
 
 if MOST
 
-source "drivers/staging/most/aim-cdev/Kconfig"
+source "drivers/staging/most/cdev/Kconfig"
 
 source "drivers/staging/most/aim-network/Kconfig"
 
similarity index 70%
rename from drivers/staging/most/aim-cdev/Kconfig
rename to drivers/staging/most/cdev/Kconfig
index 3c59f1bac12760d4ffdcaf43816fa60388aa4cd3..2b04e26bcbea30d586446aadae54a14a15a39434 100644 (file)
@@ -2,11 +2,11 @@
 # MOST Cdev configuration
 #
 
-config AIM_CDEV
-       tristate "Cdev AIM"
+config MOST_CDEV
+       tristate "Cdev"
 
        ---help---
          Say Y here if you want to commumicate via character devices.
 
          To compile this driver as a module, choose M here: the
-         module will be called aim_cdev.
\ No newline at end of file
+         module will be called most_cdev.
diff --git a/drivers/staging/most/cdev/Makefile b/drivers/staging/most/cdev/Makefile
new file mode 100644 (file)
index 0000000..afb9870
--- /dev/null
@@ -0,0 +1,4 @@
+obj-$(CONFIG_MOST_CDEV) += most_cdev.o
+
+most_cdev-objs := cdev.o
+ccflags-y += -Idrivers/staging/