浏览代码

[ALSA] Remove sound/driver.h

This header file exists only for some hacks to adapt alsa-driver
tree.  It's useless for building in the kernel.  Let's move a few
lines in it to sound/core.h and remove it.
With this patch, sound/driver.h isn't removed but has just a single
compile warning to include it.  This should be really killed in
future.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Takashi Iwai 17 年之前
父节点
当前提交
9004acc70e
共有 100 个文件被更改,包括 20 次插入161 次删除
  1. 0 2
      Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl
  2. 0 1
      drivers/input/touchscreen/ucb1400_ts.c
  3. 0 1
      drivers/media/video/cx88/cx88-alsa.c
  4. 0 1
      drivers/media/video/saa7134/saa7134-alsa.c
  5. 0 1
      drivers/media/video/saa7134/saa7134.h
  6. 0 1
      drivers/usb/gadget/gmidi.c
  7. 0 1
      include/asm-arm/arch-omap/eac.h
  8. 0 1
      include/asm-arm/arch-omap/omap-alsa.h
  9. 0 1
      include/asm-arm/arch-pxa/audio.h
  10. 10 0
      include/sound/core.h
  11. 1 47
      include/sound/driver.h
  12. 8 11
      include/sound/opl3.h
  13. 0 1
      include/sound/soc.h
  14. 0 2
      sound/aoa/aoa.h
  15. 0 1
      sound/aoa/soundbus/i2sbus/i2sbus-core.c
  16. 0 3
      sound/aoa/soundbus/i2sbus/i2sbus-pcm.c
  17. 0 1
      sound/arm/aaci.c
  18. 0 1
      sound/arm/devdma.c
  19. 0 1
      sound/arm/pxa2xx-ac97.c
  20. 0 1
      sound/arm/pxa2xx-pcm.c
  21. 0 1
      sound/arm/sa11xx-uda1341.c
  22. 0 1
      sound/core/control.c
  23. 0 1
      sound/core/device.c
  24. 0 1
      sound/core/hwdep.c
  25. 0 1
      sound/core/info.c
  26. 0 1
      sound/core/info_oss.c
  27. 0 1
      sound/core/init.c
  28. 0 1
      sound/core/isadma.c
  29. 1 1
      sound/core/memory.c
  30. 0 1
      sound/core/misc.c
  31. 0 1
      sound/core/oss/copy.c
  32. 0 1
      sound/core/oss/io.c
  33. 0 1
      sound/core/oss/linear.c
  34. 0 1
      sound/core/oss/mixer_oss.c
  35. 0 1
      sound/core/oss/mulaw.c
  36. 0 1
      sound/core/oss/pcm_oss.c
  37. 0 1
      sound/core/oss/pcm_plugin.c
  38. 0 1
      sound/core/oss/rate.c
  39. 0 1
      sound/core/oss/route.c
  40. 0 1
      sound/core/pcm.c
  41. 0 1
      sound/core/pcm_lib.c
  42. 0 1
      sound/core/pcm_memory.c
  43. 0 1
      sound/core/pcm_misc.c
  44. 0 1
      sound/core/pcm_native.c
  45. 0 1
      sound/core/pcm_timer.c
  46. 0 1
      sound/core/rawmidi.c
  47. 0 1
      sound/core/rtctimer.c
  48. 0 1
      sound/core/seq/oss/seq_oss.c
  49. 0 1
      sound/core/seq/oss/seq_oss_device.h
  50. 0 1
      sound/core/seq/seq.c
  51. 0 1
      sound/core/seq/seq_clientmgr.c
  52. 0 1
      sound/core/seq/seq_device.c
  53. 0 1
      sound/core/seq/seq_dummy.c
  54. 0 1
      sound/core/seq/seq_fifo.c
  55. 0 1
      sound/core/seq/seq_info.c
  56. 0 1
      sound/core/seq/seq_lock.c
  57. 0 1
      sound/core/seq/seq_memory.c
  58. 0 1
      sound/core/seq/seq_midi.c
  59. 0 1
      sound/core/seq/seq_midi_emul.c
  60. 0 1
      sound/core/seq/seq_midi_event.c
  61. 0 1
      sound/core/seq/seq_ports.c
  62. 0 1
      sound/core/seq/seq_prioq.c
  63. 0 1
      sound/core/seq/seq_queue.c
  64. 0 1
      sound/core/seq/seq_system.c
  65. 0 1
      sound/core/seq/seq_timer.c
  66. 0 1
      sound/core/seq/seq_virmidi.c
  67. 0 1
      sound/core/sound.c
  68. 0 2
      sound/core/sound_oss.c
  69. 0 1
      sound/core/timer.c
  70. 0 1
      sound/drivers/dummy.c
  71. 0 1
      sound/drivers/ml403-ac97cr.c
  72. 0 1
      sound/drivers/mpu401/mpu401.c
  73. 0 1
      sound/drivers/mpu401/mpu401_uart.c
  74. 0 1
      sound/drivers/mtpav.c
  75. 0 1
      sound/drivers/mts64.c
  76. 0 2
      sound/drivers/pcm-indirect2.c
  77. 0 1
      sound/drivers/portman2x4.c
  78. 0 1
      sound/drivers/serial-u16550.c
  79. 0 1
      sound/drivers/virmidi.c
  80. 0 1
      sound/drivers/vx/vx_cmd.c
  81. 0 1
      sound/drivers/vx/vx_core.c
  82. 0 1
      sound/drivers/vx/vx_hwdep.c
  83. 0 1
      sound/drivers/vx/vx_mixer.c
  84. 0 1
      sound/drivers/vx/vx_pcm.c
  85. 0 1
      sound/drivers/vx/vx_uer.c
  86. 0 1
      sound/i2c/cs8427.c
  87. 0 1
      sound/i2c/i2c.c
  88. 0 1
      sound/i2c/l3/uda1341.c
  89. 0 1
      sound/i2c/other/ak4114.c
  90. 0 1
      sound/i2c/other/ak4117.c
  91. 0 1
      sound/i2c/other/ak4xxx-adda.c
  92. 0 1
      sound/i2c/other/pt2258.c
  93. 0 1
      sound/i2c/other/tea575x-tuner.c
  94. 0 1
      sound/i2c/tea6330t.c
  95. 0 1
      sound/isa/ad1816a/ad1816a.c
  96. 0 1
      sound/isa/ad1816a/ad1816a_lib.c
  97. 0 1
      sound/isa/ad1848/ad1848.c
  98. 0 1
      sound/isa/ad1848/ad1848_lib.c
  99. 0 1
      sound/isa/adlib.c
  100. 0 1
      sound/isa/als100.c

+ 0 - 2
Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl

@@ -394,7 +394,6 @@
           <title>Basic Flow for PCI Drivers - Example</title>
           <programlisting>
 <![CDATA[
-  #include <sound/driver.h>
   #include <linux/init.h>
   #include <linux/pci.h>
   #include <linux/slab.h>
@@ -751,7 +750,6 @@
         <informalexample>
           <programlisting>
 <![CDATA[
-  #include <sound/driver.h>
   #include <linux/init.h>
   #include <linux/pci.h>
   #include <linux/slab.h>

+ 0 - 1
drivers/input/touchscreen/ucb1400_ts.c

@@ -27,7 +27,6 @@
 #include <linux/kthread.h>
 #include <linux/freezer.h>
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/ac97_codec.h>
 

+ 0 - 1
drivers/media/video/cx88/cx88-alsa.c

@@ -33,7 +33,6 @@
 #include <linux/pci.h>
 
 #include <asm/delay.h>
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>

+ 0 - 1
drivers/media/video/saa7134/saa7134-alsa.c

@@ -21,7 +21,6 @@
 #include <linux/time.h>
 #include <linux/wait.h>
 #include <linux/module.h>
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/control.h>
 #include <sound/pcm.h>

+ 0 - 1
drivers/media/video/saa7134/saa7134.h

@@ -38,7 +38,6 @@
 #include <media/ir-common.h>
 #include <media/ir-kbd-i2c.h>
 #include <media/videobuf-dma-sg.h>
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #if defined(CONFIG_VIDEO_SAA7134_DVB) || defined(CONFIG_VIDEO_SAA7134_DVB_MODULE)

+ 0 - 1
drivers/usb/gadget/gmidi.c

@@ -24,7 +24,6 @@
 #include <linux/utsname.h>
 #include <linux/device.h>
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/initval.h>
 #include <sound/rawmidi.h>

+ 0 - 1
include/asm-arm/arch-omap/eac.h

@@ -31,7 +31,6 @@
 #include <asm/arch/hardware.h>
 #include <asm/irq.h>
 
-#include <sound/driver.h>
 #include <sound/core.h>
 
 /* master codec clock source */

+ 0 - 1
include/asm-arm/arch-omap/omap-alsa.h

@@ -40,7 +40,6 @@
 #ifndef __OMAP_ALSA_H
 #define __OMAP_ALSA_H
 
-#include <sound/driver.h>
 #include <asm/arch/dma.h>
 #include <sound/core.h>
 #include <sound/pcm.h>

+ 0 - 1
include/asm-arm/arch-pxa/audio.h

@@ -1,7 +1,6 @@
 #ifndef __ASM_ARCH_AUDIO_H__
 #define __ASM_ARCH_AUDIO_H__
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 

+ 10 - 0
include/sound/core.h

@@ -22,12 +22,22 @@
  *
  */
 
+#include <linux/module.h>
 #include <linux/sched.h>		/* wake_up() */
 #include <linux/mutex.h>		/* struct mutex */
 #include <linux/rwsem.h>		/* struct rw_semaphore */
 #include <linux/pm.h>			/* pm_message_t */
 #include <linux/device.h>
 
+/* number of supported soundcards */
+#ifdef CONFIG_SND_DYNAMIC_MINORS
+#define SNDRV_CARDS 32
+#else
+#define SNDRV_CARDS 8		/* don't change - minor numbers */
+#endif
+
+#define CONFIG_SND_MAJOR	116	/* standard configuration */
+
 /* forward declarations */
 #ifdef CONFIG_PCI
 struct pci_dev;

+ 1 - 47
include/sound/driver.h

@@ -1,47 +1 @@
-#ifndef __SOUND_DRIVER_H
-#define __SOUND_DRIVER_H
-
-/*
- *  Main header file for the ALSA driver
- *  Copyright (c) 1994-2000 by Jaroslav Kysela <perex@perex.cz>
- *
- *
- *   This program is free software; you can redistribute it and/or modify
- *   it under the terms of the GNU General Public License as published by
- *   the Free Software Foundation; either version 2 of the License, or
- *   (at your option) any later version.
- *
- *   This program is distributed in the hope that it will be useful,
- *   but WITHOUT ANY WARRANTY; without even the implied warranty of
- *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- *   GNU General Public License for more details.
- *
- *   You should have received a copy of the GNU General Public License
- *   along with this program; if not, write to the Free Software
- *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
- *
- */
-
-#ifdef ALSA_BUILD
-#include "config.h"
-#endif
-
-
-/* number of supported soundcards */
-#ifdef CONFIG_SND_DYNAMIC_MINORS
-#define SNDRV_CARDS 32
-#else
-#define SNDRV_CARDS 8		/* don't change - minor numbers */
-#endif
-
-#ifndef CONFIG_SND_MAJOR	/* standard configuration */
-#define CONFIG_SND_MAJOR	116
-#endif
-
-#ifdef ALSA_BUILD
-#include "adriver.h"
-#endif
-
-#include <linux/module.h>
-
-#endif /* __SOUND_DRIVER_H */
+#warning "This file is deprecated"

+ 8 - 11
include/sound/opl3.h

@@ -51,19 +51,16 @@
  *
  */
 
-#include "driver.h"
-#include <linux/time.h>
-#include <linux/mutex.h>
-#include "core.h"
-#include "hwdep.h"
-#include "timer.h"
-#include "seq_midi_emul.h"
+#include <sound/core.h>
+#include <sound/hwdep.h>
+#include <sound/timer.h>
+#include <sound/seq_midi_emul.h>
 #ifdef CONFIG_SND_SEQUENCER_OSS
-#include "seq_oss.h"
-#include "seq_oss_legacy.h"
+#include <sound/seq_oss.h>
+#include <sound/seq_oss_legacy.h>
 #endif
-#include "seq_device.h"
-#include "asound_fm.h"
+#include <sound/seq_device.h>
+#include <sound/asound_fm.h>
 
 /*
  *    Register numbers for the global registers

+ 0 - 1
include/sound/soc.h

@@ -16,7 +16,6 @@
 #include <linux/platform_device.h>
 #include <linux/types.h>
 #include <linux/workqueue.h>
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/control.h>

+ 0 - 2
sound/aoa/aoa.h

@@ -10,8 +10,6 @@
 #define __AOA_H
 #include <asm/prom.h>
 #include <linux/module.h>
-/* So apparently there's a reason for requiring driver.h to be included first! */
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/asound.h>
 #include <sound/control.h>

+ 0 - 1
sound/aoa/soundbus/i2sbus/i2sbus-core.c

@@ -11,7 +11,6 @@
 #include <linux/interrupt.h>
 #include <linux/dma-mapping.h>
 
-#include <sound/driver.h>
 #include <sound/core.h>
 
 #include <asm/macio.h>

+ 0 - 3
sound/aoa/soundbus/i2sbus/i2sbus-pcm.c

@@ -8,9 +8,6 @@
 
 #include <asm/io.h>
 #include <linux/delay.h>
-/* So apparently there's a reason for requiring driver.h
- * to be included first, even if I don't know it... */
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <asm/macio.h>
 #include <linux/pci.h>

+ 0 - 1
sound/arm/aaci.c

@@ -23,7 +23,6 @@
 #include <asm/irq.h>
 #include <asm/sizes.h>
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/initval.h>
 #include <sound/ac97_codec.h>

+ 0 - 1
sound/arm/devdma.c

@@ -12,7 +12,6 @@
 #include <linux/device.h>
 #include <linux/dma-mapping.h>
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 

+ 0 - 1
sound/arm/pxa2xx-ac97.c

@@ -18,7 +18,6 @@
 #include <linux/wait.h>
 #include <linux/delay.h>
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/ac97_codec.h>

+ 0 - 1
sound/arm/pxa2xx-pcm.c

@@ -16,7 +16,6 @@
 #include <linux/slab.h>
 #include <linux/dma-mapping.h>
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>

+ 0 - 1
sound/arm/sa11xx-uda1341.c

@@ -59,7 +59,6 @@
 * 
 ***************************************************************************************************/
 
-#include <sound/driver.h>
 #include <linux/module.h>
 #include <linux/moduleparam.h>
 #include <linux/init.h>

+ 0 - 1
sound/core/control.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/threads.h>
 #include <linux/interrupt.h>
 #include <linux/slab.h>

+ 0 - 1
sound/core/device.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/slab.h>
 #include <linux/time.h>
 #include <linux/errno.h>

+ 0 - 1
sound/core/hwdep.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/major.h>
 #include <linux/init.h>
 #include <linux/slab.h>

+ 0 - 1
sound/core/info.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/time.h>
 #include <linux/smp_lock.h>

+ 0 - 1
sound/core/info_oss.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/slab.h>
 #include <linux/time.h>
 #include <linux/string.h>

+ 0 - 1
sound/core/init.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/sched.h>
 #include <linux/file.h>

+ 0 - 1
sound/core/isadma.c

@@ -26,7 +26,6 @@
 
 #undef HAVE_REALLY_SLOW_DMA_CONTROLLER
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <asm/dma.h>
 

+ 1 - 1
sound/core/memory.c

@@ -20,9 +20,9 @@
  *
  */
 
-#include <linux/module.h>
 #include <asm/io.h>
 #include <asm/uaccess.h>
+#include <sound/core.h>
 
 /**
  * copy_to_user_fromio - copy data from mmio-space to user-space

+ 0 - 1
sound/core/misc.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/time.h>
 #include <linux/ioport.h>

+ 0 - 1
sound/core/oss/copy.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/time.h>
 #include <sound/core.h>
 #include <sound/pcm.h>

+ 0 - 1
sound/core/oss/io.c

@@ -19,7 +19,6 @@
  *
  */
   
-#include <sound/driver.h>
 #include <linux/time.h>
 #include <sound/core.h>
 #include <sound/pcm.h>

+ 0 - 1
sound/core/oss/linear.c

@@ -20,7 +20,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/time.h>
 #include <sound/core.h>
 #include <sound/pcm.h>

+ 0 - 1
sound/core/oss/mixer_oss.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/time.h>

+ 0 - 1
sound/core/oss/mulaw.c

@@ -21,7 +21,6 @@
  *
  */
   
-#include <sound/driver.h>
 #include <linux/time.h>
 #include <sound/core.h>
 #include <sound/pcm.h>

+ 0 - 1
sound/core/oss/pcm_oss.c

@@ -26,7 +26,6 @@
 #define OSS_DEBUG
 #endif
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/time.h>

+ 0 - 1
sound/core/oss/pcm_plugin.c

@@ -24,7 +24,6 @@
 #define PLUGIN_DEBUG
 #endif
 
-#include <sound/driver.h>
 #include <linux/slab.h>
 #include <linux/time.h>
 #include <linux/vmalloc.h>

+ 0 - 1
sound/core/oss/rate.c

@@ -19,7 +19,6 @@
  *
  */
   
-#include <sound/driver.h>
 #include <linux/time.h>
 #include <sound/core.h>
 #include <sound/pcm.h>

+ 0 - 1
sound/core/oss/route.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/slab.h>
 #include <linux/time.h>
 #include <sound/core.h>

+ 0 - 1
sound/core/pcm.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/time.h>

+ 0 - 1
sound/core/pcm_lib.c

@@ -20,7 +20,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/slab.h>
 #include <linux/time.h>
 #include <sound/core.h>

+ 0 - 1
sound/core/pcm_memory.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <asm/io.h>
 #include <linux/time.h>
 #include <linux/init.h>

+ 0 - 1
sound/core/pcm_misc.c

@@ -19,7 +19,6 @@
  *
  */
   
-#include <sound/driver.h>
 #include <linux/time.h>
 #include <sound/core.h>
 #include <sound/pcm.h>

+ 0 - 1
sound/core/pcm_native.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/mm.h>
 #include <linux/file.h>
 #include <linux/slab.h>

+ 0 - 1
sound/core/pcm_timer.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/time.h>
 #include <sound/core.h>
 #include <sound/pcm.h>

+ 0 - 1
sound/core/rawmidi.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <linux/major.h>
 #include <linux/init.h>

+ 0 - 1
sound/core/rtctimer.c

@@ -20,7 +20,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/moduleparam.h>

+ 0 - 1
sound/core/seq/oss/seq_oss.c

@@ -20,7 +20,6 @@
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/moduleparam.h>
 #include <linux/mutex.h>

+ 0 - 1
sound/core/seq/oss/seq_oss_device.h

@@ -21,7 +21,6 @@
 #ifndef __SEQ_OSS_DEVICE_H
 #define __SEQ_OSS_DEVICE_H
 
-#include <sound/driver.h>
 #include <linux/time.h>
 #include <linux/wait.h>
 #include <linux/slab.h>

+ 0 - 1
sound/core/seq/seq.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/moduleparam.h>
 #include <sound/core.h>

+ 0 - 1
sound/core/seq/seq_clientmgr.c

@@ -21,7 +21,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <sound/core.h>

+ 0 - 1
sound/core/seq/seq_device.c

@@ -36,7 +36,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <sound/core.h>
 #include <sound/info.h>

+ 0 - 1
sound/core/seq/seq_dummy.c

@@ -18,7 +18,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/moduleparam.h>

+ 0 - 1
sound/core/seq/seq_fifo.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <linux/slab.h>
 #include "seq_fifo.h"

+ 0 - 1
sound/core/seq/seq_info.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <sound/core.h>
 

+ 0 - 1
sound/core/seq/seq_lock.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include "seq_lock.h"
 

+ 0 - 1
sound/core/seq/seq_memory.c

@@ -20,7 +20,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>

+ 0 - 1
sound/core/seq/seq_midi.c

@@ -26,7 +26,6 @@ Possible options for midisynth module:
 */
 
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/errno.h>

+ 0 - 1
sound/core/seq/seq_midi_emul.c

@@ -29,7 +29,6 @@
  * code in here.  If there is it should be reported as a bug.
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/string.h>

+ 0 - 1
sound/core/seq/seq_midi_event.c

@@ -19,7 +19,6 @@
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
-#include <sound/driver.h>
 #include <linux/slab.h>
 #include <linux/errno.h>
 #include <linux/string.h>

+ 0 - 1
sound/core/seq/seq_ports.c

@@ -20,7 +20,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <linux/slab.h>
 #include "seq_system.h"

+ 0 - 1
sound/core/seq/seq_prioq.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/time.h>
 #include <linux/slab.h>
 #include <sound/core.h>

+ 0 - 1
sound/core/seq/seq_queue.c

@@ -35,7 +35,6 @@
  *     - Addition of experimental sync support.
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <sound/core.h>

+ 0 - 1
sound/core/seq/seq_system.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <sound/core.h>
 #include "seq_system.h"

+ 0 - 1
sound/core/seq/seq_timer.c

@@ -20,7 +20,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <linux/slab.h>
 #include "seq_timer.h"

+ 0 - 1
sound/core/seq/seq_virmidi.c

@@ -35,7 +35,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/wait.h>
 #include <linux/slab.h>

+ 0 - 1
sound/core/sound.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/time.h>

+ 0 - 2
sound/core/sound_oss.c

@@ -19,8 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
-
 #ifdef CONFIG_SND_OSSEMUL
 
 #if !defined(CONFIG_SOUND) && !(defined(MODULE) && defined(CONFIG_SOUND_MODULE))

+ 0 - 1
sound/core/timer.c

@@ -19,7 +19,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/slab.h>

+ 0 - 1
sound/drivers/dummy.c

@@ -18,7 +18,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/err.h>
 #include <linux/platform_device.h>

+ 0 - 1
sound/drivers/ml403-ac97cr.c

@@ -33,7 +33,6 @@
  *   But there might still be some ...
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/moduleparam.h>
 

+ 0 - 1
sound/drivers/mpu401/mpu401.c

@@ -20,7 +20,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/pnp.h>
 #include <linux/err.h>

+ 0 - 1
sound/drivers/mpu401/mpu401_uart.c

@@ -28,7 +28,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <asm/io.h>
 #include <linux/delay.h>
 #include <linux/init.h>

+ 0 - 1
sound/drivers/mtpav.c

@@ -50,7 +50,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/err.h>

+ 0 - 1
sound/drivers/mts64.c

@@ -18,7 +18,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/parport.h>

+ 0 - 2
sound/drivers/pcm-indirect2.c

@@ -25,8 +25,6 @@
  *   Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
 
-/* #dependency of sound/core.h# */
-#include <sound/driver.h>
 /* snd_printk/d() */
 #include <sound/core.h>
 /* struct snd_pcm_substream, struct snd_pcm_runtime, snd_pcm_uframes_t

+ 0 - 1
sound/drivers/portman2x4.c

@@ -37,7 +37,6 @@
  *      - ported from alsa 0.5 to 1.0
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/parport.h>

+ 0 - 1
sound/drivers/serial-u16550.c

@@ -30,7 +30,6 @@
  *      More documentation can be found in serial-u16550.txt.
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
 #include <linux/err.h>

+ 0 - 1
sound/drivers/virmidi.c

@@ -41,7 +41,6 @@
  * - Run application using a midi device (eg. /dev/snd/midiC1D0)
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/wait.h>
 #include <linux/err.h>

+ 0 - 1
sound/drivers/vx/vx_cmd.c

@@ -20,7 +20,6 @@
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/vx_core.h>

+ 0 - 1
sound/drivers/vx/vx_core.c

@@ -20,7 +20,6 @@
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
-#include <sound/driver.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
 #include <linux/interrupt.h>

+ 0 - 1
sound/drivers/vx/vx_hwdep.c

@@ -20,7 +20,6 @@
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
-#include <sound/driver.h>
 #include <linux/device.h>
 #include <linux/firmware.h>
 #include <linux/vmalloc.h>

+ 0 - 1
sound/drivers/vx/vx_mixer.c

@@ -20,7 +20,6 @@
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/control.h>
 #include <sound/tlv.h>

+ 0 - 1
sound/drivers/vx/vx_pcm.c

@@ -45,7 +45,6 @@
  *  - scheduled action on the stream.
  */
 
-#include <sound/driver.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
 #include <linux/delay.h>

+ 0 - 1
sound/drivers/vx/vx_uer.c

@@ -20,7 +20,6 @@
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
-#include <sound/driver.h>
 #include <linux/delay.h>
 #include <sound/core.h>
 #include <sound/vx_core.h>

+ 0 - 1
sound/i2c/cs8427.c

@@ -20,7 +20,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/slab.h>
 #include <linux/delay.h>
 #include <linux/init.h>

+ 0 - 1
sound/i2c/i2c.c

@@ -20,7 +20,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/string.h>

+ 0 - 1
sound/i2c/l3/uda1341.c

@@ -19,7 +19,6 @@
 
 /* $Id: uda1341.c,v 1.18 2005/11/17 14:17:21 tiwai Exp $ */
 
-#include <sound/driver.h>
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/types.h>

+ 0 - 1
sound/i2c/other/ak4114.c

@@ -20,7 +20,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/slab.h>
 #include <linux/delay.h>
 #include <sound/core.h>

+ 0 - 1
sound/i2c/other/ak4117.c

@@ -20,7 +20,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/slab.h>
 #include <linux/delay.h>
 #include <sound/core.h>

+ 0 - 1
sound/i2c/other/ak4xxx-adda.c

@@ -21,7 +21,6 @@
  *
  */      
 
-#include <sound/driver.h>
 #include <asm/io.h>
 #include <linux/delay.h>
 #include <linux/interrupt.h>

+ 0 - 1
sound/i2c/other/pt2258.c

@@ -19,7 +19,6 @@
  *
  */      
 
-#include <sound/driver.h>
 #include <sound/core.h>
 #include <sound/control.h>
 #include <sound/tlv.h>

+ 0 - 1
sound/i2c/other/tea575x-tuner.c

@@ -20,7 +20,6 @@
  *
  */      
 
-#include <sound/driver.h>
 #include <asm/io.h>
 #include <linux/delay.h>
 #include <linux/interrupt.h>

+ 0 - 1
sound/i2c/tea6330t.c

@@ -20,7 +20,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <sound/core.h>

+ 0 - 1
sound/isa/ad1816a/ad1816a.c

@@ -18,7 +18,6 @@
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/time.h>
 #include <linux/wait.h>

+ 0 - 1
sound/isa/ad1816a/ad1816a_lib.c

@@ -17,7 +17,6 @@
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 */
 
-#include <sound/driver.h>
 #include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>

+ 0 - 1
sound/isa/ad1848/ad1848.c

@@ -21,7 +21,6 @@
  *
  */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/err.h>
 #include <linux/isa.h>

+ 0 - 1
sound/isa/ad1848/ad1848_lib.c

@@ -20,7 +20,6 @@
  */
 
 #define SNDRV_MAIN_OBJECT_FILE
-#include <sound/driver.h>
 #include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>

+ 0 - 1
sound/isa/adlib.c

@@ -2,7 +2,6 @@
  * AdLib FM card driver.
  */
 
-#include <sound/driver.h>
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/isa.h>

+ 0 - 1
sound/isa/als100.c

@@ -20,7 +20,6 @@
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
 */
 
-#include <sound/driver.h>
 #include <linux/init.h>
 #include <linux/wait.h>
 #include <linux/time.h>

部分文件因为文件数量过多而无法显示