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 00e03bc9a762e21356e561bb94b586b9d7dd2648..1e007c736a8bf6b939334fcc3ee9d5faf0ec14f7 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 34a2dd1614fab0eed1bbde6a6cec11fe5dda4174..29d8a8da1ba73a6bf0e4ff915e7492a7745ec862 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 28b9747becc947f06f1fe3c597848588e980ef07..f75f5ffdfdfb60724db8a90dbac5ca05447f3816 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 e377287192aae954aa42d153cb9931f0934f67b4..56fec0bc0efb30cfbd04fcad3d80dd03efa81725 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 00b148a10239f4d0f97caba451fd6d0b3b4d46c0..c2c695b07f8cc0c63e1599f403ccaade2b9e52f7 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 f61346a555bbcec1e18d38db45df1362e7f51c33..d36e6ca147e18932fd63afbe1c273e936234ecc3 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 06f0478103db1dfbcc54b402fe55872e8b11accd..5f110eb56e4760700f853dd12d8e1a632bf83067 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 b4430c093bade185760e60b14f17ce09a4446c7e..94011dcae7312e4e48f6e75a0b8d59f73e92b572 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 f9779e23fe5782668ba997e3a4b0400cef80de0a..3102a579660b0216a8fc25b3ee11e791baf7b78f 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 7e20ddb9123a2f395e40fb6d164c0dcd37ae81a0..4810356b97ba0997379aa2a45711087d789f5cf9 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 238f118de6e15bb519f6b79ec0018e2e3347fa6f..bddc4052286be3e7c9433b5195765a43bcf27669 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 c706901d6ff63b079ce7edbcedb4931190405b64..62b23635b7543b651e979e5628c1ec631b53df6d 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>