From 7b9cdcf6ea8062b4a003b0a06601d94a52f95eeb Mon Sep 17 00:00:00 2001 From: Christian Gromm Date: Tue, 21 Nov 2017 15:04:36 +0100 Subject: [PATCH] staging: most: cdev: rename module This patch renames the folder of the cdev module. This is needed to clear the directory layout. Signed-off-by: Christian Gromm Signed-off-by: Greg Kroah-Hartman --- drivers/staging/most/Kconfig | 2 +- drivers/staging/most/{aim-cdev => cdev}/Kconfig | 6 +++--- drivers/staging/most/cdev/Makefile | 4 ++++ drivers/staging/most/{aim-cdev => cdev}/cdev.c | 0 4 files changed, 8 insertions(+), 4 deletions(-) rename drivers/staging/most/{aim-cdev => cdev}/Kconfig (70%) create mode 100644 drivers/staging/most/cdev/Makefile rename drivers/staging/most/{aim-cdev => cdev}/cdev.c (100%) diff --git a/drivers/staging/most/Kconfig b/drivers/staging/most/Kconfig index 2045f7ac5081..60a2825e6076 100644 --- a/drivers/staging/most/Kconfig +++ b/drivers/staging/most/Kconfig @@ -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" diff --git a/drivers/staging/most/aim-cdev/Kconfig b/drivers/staging/most/cdev/Kconfig similarity index 70% rename from drivers/staging/most/aim-cdev/Kconfig rename to drivers/staging/most/cdev/Kconfig index 3c59f1bac127..2b04e26bcbea 100644 --- a/drivers/staging/most/aim-cdev/Kconfig +++ b/drivers/staging/most/cdev/Kconfig @@ -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 index 000000000000..afb9870eb50f --- /dev/null +++ b/drivers/staging/most/cdev/Makefile @@ -0,0 +1,4 @@ +obj-$(CONFIG_MOST_CDEV) += most_cdev.o + +most_cdev-objs := cdev.o +ccflags-y += -Idrivers/staging/ diff --git a/drivers/staging/most/aim-cdev/cdev.c b/drivers/staging/most/cdev/cdev.c similarity index 100% rename from drivers/staging/most/aim-cdev/cdev.c rename to drivers/staging/most/cdev/cdev.c