staging: most: sound: rename module
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 21 Nov 2017 14:04:40 +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 sound 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/sound/Kconfig [moved from drivers/staging/most/aim-sound/Kconfig with 72% similarity]
drivers/staging/most/sound/Makefile [new file with mode: 0644]
drivers/staging/most/sound/sound.c [moved from drivers/staging/most/aim-sound/sound.c with 100% similarity]

index 68a9c89..3f12711 100644 (file)
@@ -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"
 
similarity index 72%
rename from drivers/staging/most/aim-sound/Kconfig
rename to drivers/staging/most/sound/Kconfig
index 3194c21..115262a 100644 (file)
@@ -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 (file)
index 0000000..eee8774
--- /dev/null
@@ -0,0 +1,4 @@
+obj-$(CONFIG_MOST_SOUND) += most_sound.o
+
+most_sound-objs := sound.o
+ccflags-y += -Idrivers/staging/