From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Christian Gromm Subject: [PATCH 06/50] staging: most: sound: rename module Date: Tue, 21 Nov 2017 15:04:40 +0100 Message-ID: <1511273124-7840-7-git-send-email-christian.gromm@microchip.com> In-Reply-To: <1511273124-7840-1-git-send-email-christian.gromm@microchip.com> References: <1511273124-7840-1-git-send-email-christian.gromm@microchip.com> MIME-Version: 1.0 Content-Type: text/plain List-ID: To: gregkh@linuxfoundation.org Cc: driverdev-devel@linuxdriverproject.org, Christian Gromm This patch renames the folder of the sound module. It is needed to clean up the directory layout of the driver. Signed-off-by: Christian Gromm --- drivers/staging/most/Kconfig | 2 +- drivers/staging/most/{aim-sound => sound}/Kconfig | 6 +++--- drivers/staging/most/sound/Makefile | 4 ++++ drivers/staging/most/{aim-sound => sound}/sound.c | 0 4 files changed, 8 insertions(+), 4 deletions(-) rename drivers/staging/most/{aim-sound => sound}/Kconfig (72%) create mode 100644 drivers/staging/most/sound/Makefile rename drivers/staging/most/{aim-sound => sound}/sound.c (100%) diff --git a/drivers/staging/most/Kconfig b/drivers/staging/most/Kconfig index 68a9c89..3f12711 100644 --- a/drivers/staging/most/Kconfig +++ b/drivers/staging/most/Kconfig @@ -21,7 +21,7 @@ source "drivers/staging/most/cdev/Kconfig" source "drivers/staging/most/net/Kconfig" -source "drivers/staging/most/aim-sound/Kconfig" +source "drivers/staging/most/sound/Kconfig" source "drivers/staging/most/aim-v4l2/Kconfig" diff --git a/drivers/staging/most/aim-sound/Kconfig b/drivers/staging/most/sound/Kconfig similarity index 72% rename from drivers/staging/most/aim-sound/Kconfig rename to drivers/staging/most/sound/Kconfig index 3194c21..115262a 100644 --- a/drivers/staging/most/aim-sound/Kconfig +++ b/drivers/staging/most/sound/Kconfig @@ -2,12 +2,12 @@ # MOST ALSA configuration # -config AIM_SOUND - tristate "ALSA AIM" +config MOST_SOUND + tristate "Sound" depends on SND select SND_PCM ---help--- Say Y here if you want to commumicate via ALSA/sound devices. To compile this driver as a module, choose M here: the - module will be called aim_sound. + module will be called most_sound. diff --git a/drivers/staging/most/sound/Makefile b/drivers/staging/most/sound/Makefile new file mode 100644 index 0000000..eee8774 --- /dev/null +++ b/drivers/staging/most/sound/Makefile @@ -0,0 +1,4 @@ +obj-$(CONFIG_MOST_SOUND) += most_sound.o + +most_sound-objs := sound.o +ccflags-y += -Idrivers/staging/ diff --git a/drivers/staging/most/aim-sound/sound.c b/drivers/staging/most/sound/sound.c similarity index 100% rename from drivers/staging/most/aim-sound/sound.c rename to drivers/staging/most/sound/sound.c -- 2.7.4