ALSA: Move some headers to local directories from include/sound
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Jul 2012 14:37:05 +0000 (16:37 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 3 Jul 2012 06:23:09 +0000 (08:23 +0200)
This is a bit clean up of public sound header directory.
Some header files in include/sound aren't really necessary to be
located there but can be moved to their local directories gracefully.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
15 files changed:
sound/pci/cs46xx/cs46xx.c
sound/pci/cs46xx/cs46xx.h [moved from include/sound/cs46xx.h with 99% similarity]
sound/pci/cs46xx/cs46xx_dsp_scb_types.h [moved from include/sound/cs46xx_dsp_scb_types.h with 100% similarity]
sound/pci/cs46xx/cs46xx_dsp_spos.h [moved from include/sound/cs46xx_dsp_spos.h with 100% similarity]
sound/pci/cs46xx/cs46xx_dsp_task_types.h [moved from include/sound/cs46xx_dsp_task_types.h with 100% similarity]
sound/pci/cs46xx/cs46xx_lib.c
sound/pci/cs46xx/dsp_spos.c
sound/pci/cs46xx/dsp_spos_scb_lib.c
sound/pci/trident/trident.c
sound/pci/trident/trident.h [moved from include/sound/trident.h with 99% similarity]
sound/pci/trident/trident_main.c
sound/pci/trident/trident_memory.c
sound/pci/ymfpci/ymfpci.c
sound/pci/ymfpci/ymfpci.h [moved from include/sound/ymfpci.h with 99% similarity]
sound/pci/ymfpci/ymfpci_main.c

index 00e03bc..1e007c7 100644 (file)
@@ -30,7 +30,7 @@
 #include <linux/init.h>
 #include <linux/module.h>
 #include <sound/core.h>
-#include <sound/cs46xx.h>
+#include "cs46xx.h"
 #include <sound/initval.h>
 
 MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>");
similarity index 99%
rename from include/sound/cs46xx.h
rename to sound/pci/cs46xx/cs46xx.h
index 34a2dd1..29d8a8d 100644 (file)
  *
  */
 
-#include "pcm.h"
-#include "pcm-indirect.h"
-#include "rawmidi.h"
-#include "ac97_codec.h"
+#include <sound/pcm.h>
+#include <sound/pcm-indirect.h>
+#include <sound/rawmidi.h>
+#include <sound/ac97_codec.h>
 #include "cs46xx_dsp_spos.h"
 
 /*
index 28b9747..f75f5ff 100644 (file)
@@ -61,7 +61,7 @@
 #include <sound/info.h>
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>
-#include <sound/cs46xx.h>
+#include "cs46xx.h"
 
 #include <asm/io.h>
 
index e377287..56fec0b 100644 (file)
@@ -32,7 +32,7 @@
 #include <sound/control.h>
 #include <sound/info.h>
 #include <sound/asoundef.h>
-#include <sound/cs46xx.h>
+#include "cs46xx.h"
 
 #include "cs46xx_lib.h"
 #include "dsp_spos.h"
index 00b148a..c2c695b 100644 (file)
@@ -31,7 +31,7 @@
 #include <sound/core.h>
 #include <sound/control.h>
 #include <sound/info.h>
-#include <sound/cs46xx.h>
+#include "cs46xx.h"
 
 #include "cs46xx_lib.h"
 #include "dsp_spos.h"
index f61346a..d36e6ca 100644 (file)
@@ -26,7 +26,7 @@
 #include <linux/time.h>
 #include <linux/module.h>
 #include <sound/core.h>
-#include <sound/trident.h>
+#include "trident.h"
 #include <sound/initval.h>
 
 MODULE_AUTHOR("Jaroslav Kysela <perex@perex.cz>, <audio@tridentmicro.com>");
similarity index 99%
rename from include/sound/trident.h
rename to sound/pci/trident/trident.h
index 06f0478..5f110eb 100644 (file)
  *
  */
 
-#include "pcm.h"
-#include "mpu401.h"
-#include "ac97_codec.h"
-#include "util_mem.h"
+#include <sound/pcm.h>
+#include <sound/mpu401.h>
+#include <sound/ac97_codec.h>
+#include <sound/util_mem.h>
 
 #define TRIDENT_DEVICE_ID_DX           ((PCI_VENDOR_ID_TRIDENT<<16)|PCI_DEVICE_ID_TRIDENT_4DWAVE_DX)
 #define TRIDENT_DEVICE_ID_NX           ((PCI_VENDOR_ID_TRIDENT<<16)|PCI_DEVICE_ID_TRIDENT_4DWAVE_NX)
index b4430c0..94011dc 100644 (file)
@@ -41,7 +41,7 @@
 #include <sound/info.h>
 #include <sound/control.h>
 #include <sound/tlv.h>
-#include <sound/trident.h>
+#include "trident.h"
 #include <sound/asoundef.h>
 
 #include <asm/io.h>
index f9779e2..3102a57 100644 (file)
@@ -29,7 +29,7 @@
 #include <linux/mutex.h>
 
 #include <sound/core.h>
-#include <sound/trident.h>
+#include "trident.h"
 
 /* page arguments of these two macros are Trident page (4096 bytes), not like
  * aligned pages in others
index 7e20ddb..4810356 100644 (file)
@@ -24,7 +24,7 @@
 #include <linux/time.h>
 #include <linux/module.h>
 #include <sound/core.h>
-#include <sound/ymfpci.h>
+#include "ymfpci.h"
 #include <sound/mpu401.h>
 #include <sound/opl3.h>
 #include <sound/initval.h>
similarity index 99%
rename from include/sound/ymfpci.h
rename to sound/pci/ymfpci/ymfpci.h
index 238f118..bddc405 100644 (file)
  *
  */
 
-#include "pcm.h"
-#include "rawmidi.h"
-#include "ac97_codec.h"
-#include "timer.h"
+#include <sound/pcm.h>
+#include <sound/rawmidi.h>
+#include <sound/ac97_codec.h>
+#include <sound/timer.h>
 #include <linux/gameport.h>
 
 /*
index c706901..62b2363 100644 (file)
@@ -33,7 +33,7 @@
 #include <sound/control.h>
 #include <sound/info.h>
 #include <sound/tlv.h>
-#include <sound/ymfpci.h>
+#include "ymfpci.h"
 #include <sound/asoundef.h>
 #include <sound/mpu401.h>