ALSA: usbmixer: rename usbmixer.[ch] -> mixer.[ch]
Daniel Mack [Thu, 11 Mar 2010 20:13:23 +0000 (21:13 +0100)]
For clearer namespace, also rename usbmixer_maps.c -> mixer_maps.c

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>

sound/usb/Makefile
sound/usb/card.c
sound/usb/mixer.c [moved from sound/usb/usbmixer.c with 99% similarity]
sound/usb/mixer.h [moved from sound/usb/usbmixer.h with 100% similarity]
sound/usb/mixer_maps.c [moved from sound/usb/usbmixer_maps.c with 100% similarity]
sound/usb/mixer_quirks.c
sound/usb/quirks.c

index 744024a..e7ac7f4 100644 (file)
@@ -3,7 +3,7 @@
 #
 
 snd-usb-audio-objs :=  card.o \
-                       usbmixer.o \
+                       mixer.o \
                        mixer_quirks.o \
                        proc.o \
                        quirks.o \
index 78d12ff..0bd62a1 100644 (file)
@@ -56,7 +56,7 @@
 #include "usbaudio.h"
 #include "card.h"
 #include "midi.h"
-#include "usbmixer.h"
+#include "mixer.h"
 #include "proc.h"
 #include "quirks.h"
 #include "endpoint.h"
similarity index 99%
rename from sound/usb/usbmixer.c
rename to sound/usb/mixer.c
index ec2436e..4e7c2fd 100644 (file)
@@ -41,7 +41,7 @@
 #include <sound/tlv.h>
 
 #include "usbaudio.h"
-#include "usbmixer.h"
+#include "mixer.h"
 #include "helper.h"
 #include "mixer_quirks.h"
 
@@ -132,7 +132,7 @@ enum {
  * if the mixer topology is too complicated and the parsed names are
  * ambiguous, add the entries in usbmixer_maps.c.
  */
-#include "usbmixer_maps.c"
+#include "mixer_maps.c"
 
 static const struct usbmix_name_map *
 find_map(struct mixer_build *state, int unitid, int control)
similarity index 100%
rename from sound/usb/usbmixer.h
rename to sound/usb/mixer.h
index d2f4dcd..56b6659 100644 (file)
@@ -35,7 +35,7 @@
 #include <sound/info.h>
 
 #include "usbaudio.h"
-#include "usbmixer.h"
+#include "mixer.h"
 #include "mixer_quirks.h"
 #include "helper.h"
 
index a82cfed..d4ced64 100644 (file)
@@ -24,7 +24,7 @@
 
 #include "usbaudio.h"
 #include "card.h"
-#include "usbmixer.h"
+#include "mixer.h"
 #include "mixer_quirks.h"
 #include "midi.h"
 #include "quirks.h"