]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sound: Add module.h to the previously silent sound users
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 15 Jul 2011 16:38:28 +0000 (12:38 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 31 Jul 2011 08:05:42 +0000 (04:05 -0400)
Lots of sound drivers were getting module.h via the implicit presence
of it in <linux/device.h> but we are going to clean that up.  So
fix up those users now.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
39 files changed:
sound/core/control.c
sound/core/hwdep.c
sound/core/info.c
sound/core/init.c
sound/core/jack.c
sound/core/misc.c
sound/core/oss/mixer_oss.c
sound/core/rawmidi.c
sound/core/seq/oss/seq_oss_synth.c
sound/core/seq/seq_device.c
sound/core/seq/seq_midi_emul.c
sound/core/seq/seq_midi_event.c
sound/core/seq/seq_ports.c
sound/core/seq/seq_virmidi.c
sound/drivers/mpu401/mpu401_uart.c
sound/drivers/mtpav.c
sound/drivers/mts64.c
sound/drivers/opl3/opl3_lib.c
sound/drivers/opl3/opl3_seq.c
sound/drivers/opl4/opl4_lib.c
sound/drivers/opl4/opl4_seq.c
sound/drivers/portman2x4.c
sound/i2c/i2c.c
sound/i2c/other/ak4xxx-adda.c
sound/i2c/other/pt2258.c
sound/i2c/other/tea575x-tuner.c
sound/i2c/tea6330t.c
sound/isa/sb/emu8000_patch.c
sound/isa/sb/emu8000_synth.c
sound/isa/wavefront/wavefront_fx.c
sound/isa/wavefront/wavefront_synth.c
sound/pci/asihpi/hpioctl.c
sound/pci/ctxfi/xfi.c
sound/soc/tegra/tegra_asoc_utils.c
sound/synth/emux/emux.c
sound/synth/emux/emux_seq.c
sound/synth/util_mem.c
sound/usb/6fire/firmware.c
sound/usb/midi.c

index f8c5be46451058ba5a7f25d9a81195fd02643f92..4342fc95519f2e36bbb412409f8f7b86670f7c1b 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <linux/threads.h>
 #include <linux/interrupt.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
 #include <linux/time.h>
index a70ee7f1ed9832ed3ef3b4463376786dd2500234..c7ceb28d885d354119b1700270e8a055de6546bd 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/slab.h>
 #include <linux/time.h>
 #include <linux/mutex.h>
+#include <linux/module.h>
 #include <sound/core.h>
 #include <sound/control.h>
 #include <sound/minors.h>
index 601f0ebb677ba7348abb41130a1fbd28952c919d..c1e611c65c8fc3308cf6e005cc36688b164c1a55 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/mm.h>
 #include <linux/slab.h>
 #include <linux/string.h>
+#include <linux/module.h>
 #include <sound/core.h>
 #include <sound/minors.h>
 #include <sound/info.h>
index 2c041bb36ab3c177e032e16e39ee47777dce7f48..b48f4ff9ba99fee02bbabbd3606abeb571ffa5dc 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/init.h>
 #include <linux/sched.h>
 #include <linux/file.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/time.h>
 #include <linux/ctype.h>
index 53b53e97c8960e4415b7c45801d5368cb611690c..cbc766233d55906f8b9d3676013efc36a7772892 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <linux/input.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <sound/jack.h>
 #include <sound/core.h>
 
index eb9fe2e1d291850f62a0db393535a3f394d4e9a0..3f461b43ed8596d5432b2e3dc83a7e6f1127e42a 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include <linux/init.h>
+#include <linux/module.h>
 #include <linux/time.h>
 #include <linux/slab.h>
 #include <linux/ioport.h>
index d8359cfeca15a43484eb3bdc710123bfefe234a2..27ac6116a943f368e4eb9b7f62ea7c39bfe77e30 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/slab.h>
 #include <linux/time.h>
 #include <linux/string.h>
+#include <linux/module.h>
 #include <sound/core.h>
 #include <sound/minors.h>
 #include <sound/control.h>
index 849a0ed95054d21826f49b3e274ea98eced5d340..cbcdb048d993d7b1fe07b357b97017fe97e2ef31 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/major.h>
 #include <linux/init.h>
 #include <linux/sched.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/time.h>
 #include <linux/wait.h>
index ee44ab9593c01819cc5f7fd0278801ca2cab0343..c5b773a1eea9324ec7a1c70a0a7dc926031f87a3 100644 (file)
@@ -24,6 +24,7 @@
 #include "seq_oss_midi.h"
 #include "../seq_lock.h"
 #include <linux/init.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 
 /*
index 1f997675c893bbeb50fd01c530007540bc7a86fd..5cf8d65ed5ef2cc9fe8cbce1d7275fc7b0745b14 100644 (file)
@@ -37,6 +37,7 @@
  */
 
 #include <linux/init.h>
+#include <linux/module.h>
 #include <sound/core.h>
 #include <sound/info.h>
 #include <sound/seq_device.h>
index 07c663135c62d87d054d389e7a84320820497b04..6f64471ddde3df24811e3c1d1b5998780843bbbe 100644 (file)
@@ -32,6 +32,7 @@
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/string.h>
+#include <linux/module.h>
 #include <sound/core.h>
 #include <sound/seq_kernel.h>
 #include <sound/seq_midi_emul.h>
index b5d6ea4904c091c9b2733308d380cdaa995fe98d..37db7ba492a63e91d08dd378773c6e7a36e1d4c0 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/slab.h>
 #include <linux/errno.h>
 #include <linux/string.h>
+#include <linux/module.h>
 #include <sound/core.h>
 #include <sound/seq_kernel.h>
 #include <sound/seq_midi_event.h>
index e12bcd94b6db29c074b3a66b692a5094cab11581..9516e5ce3aadd8cb50e857a187a469284cb91550 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <sound/core.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include "seq_system.h"
 #include "seq_ports.h"
 #include "seq_clientmgr.h"
index 86e7739269ca2f4899eaeeb057a60f4bef556459..4b50e604276d8dec6adb47bee6b870a1fe52f8c0 100644 (file)
@@ -37,6 +37,7 @@
 
 #include <linux/init.h>
 #include <linux/wait.h>
+#include <linux/module.h>
 #include <linux/slab.h>
 #include <sound/core.h>
 #include <sound/rawmidi.h>
index 2af09996a3d01a39d4b913a23c1d08855ed54f06..9985fe752318ffc4a70483e6278fcc9fc64b6aba 100644 (file)
@@ -33,6 +33,7 @@
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/ioport.h>
+#include <linux/module.h>
 #include <linux/interrupt.h>
 #include <linux/errno.h>
 #include <sound/core.h>
index 5c426df8767878e299c930f22863df1f9a710bc6..f50021ce5a08898a1eb64a7eb61be320f9b6d852 100644 (file)
@@ -52,6 +52,7 @@
 
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/module.h>
 #include <linux/err.h>
 #include <linux/platform_device.h>
 #include <linux/ioport.h>
index 8539ab0a0893db2933e39732f7073be3d2c1f166..f24bf9a06cff385e7a8643817dd214582ad6c0a2 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/platform_device.h>
 #include <linux/parport.h>
 #include <linux/spinlock.h>
+#include <linux/module.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
 #include <sound/core.h>
index 6e31e46ca3934f46b8a8cef2ffa8215a69d3c8e8..33d9a857a2625e443808df63e0d0092632871562 100644 (file)
@@ -26,6 +26,7 @@
 #include <sound/opl3.h>
 #include <asm/io.h>
 #include <linux/delay.h>
+#include <linux/module.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/ioport.h>
index 2d33f53d36b8227a0ed520a7ec236f02b2df944c..723562e34fcc7414ab4b6ca7d918bca1015768b2 100644 (file)
@@ -25,6 +25,7 @@
 #include "opl3_voice.h"
 #include <linux/init.h>
 #include <linux/moduleparam.h>
+#include <linux/module.h>
 #include <sound/initval.h>
 
 MODULE_AUTHOR("Uros Bizjak <uros@kss-loka.si>");
index f07e38da59b852748d31e3dfaf91140e943d57d6..b953fb4aa298031a294a7b673a38f27037438f92 100644 (file)
@@ -22,6 +22,7 @@
 #include <linux/ioport.h>
 #include <linux/slab.h>
 #include <linux/init.h>
+#include <linux/module.h>
 #include <asm/io.h>
 
 MODULE_AUTHOR("Clemens Ladisch <clemens@ladisch.de>");
index 43d8a2bdd280dc7bdc90e5539a1a9916bf79cba9..99197699c55a63f50bd33f45d454a40f4dd5cf70 100644 (file)
@@ -34,6 +34,7 @@
 #include "opl4_local.h"
 #include <linux/init.h>
 #include <linux/moduleparam.h>
+#include <linux/module.h>
 #include <sound/initval.h>
 
 MODULE_AUTHOR("Clemens Ladisch <clemens@ladisch.de>");
index f2b0ba22d9cec1b2de13c0b184e30f0f035e610f..f664823a9635873e8d5a4c268c47313a9457adea 100644 (file)
@@ -43,6 +43,7 @@
 #include <linux/spinlock.h>
 #include <linux/delay.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <sound/core.h>
 #include <sound/initval.h>
 #include <sound/rawmidi.h>
index eb7c7d05a7c123e30153b1d0de240bc7bd870277..4677037f0c8e4710fe020c8a5c71b1a971555b37 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <linux/init.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <linux/string.h>
 #include <linux/errno.h>
 #include <sound/core.h>
index 57ccba88700d68bacc493d01d030175158f40196..cef813d23641afcd39b56a57c5fc8058cb99bfb0 100644 (file)
@@ -25,6 +25,7 @@
 #include <linux/delay.h>
 #include <linux/interrupt.h>
 #include <linux/init.h>
+#include <linux/module.h>
 #include <sound/core.h>
 #include <sound/control.h>
 #include <sound/tlv.h>
index 797d3a6687ebf7557308fd5a1d14201a230e8dbe..9fa390ba1718566de78be2763d48fb316ee534a7 100644 (file)
@@ -24,6 +24,7 @@
 #include <sound/tlv.h>
 #include <sound/i2c.h>
 #include <sound/pt2258.h>
+#include <linux/module.h>
 
 MODULE_AUTHOR("Jochen Voss <voss@seehuhn.de>");
 MODULE_DESCRIPTION("PT2258 volume controller (Princeton Technology Corp.)");
index 484a35b3715f6142a5d806c6b798651a71b789fd..6b68c8206805107a8b6cac329f92aa2cb25b3bb7 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <asm/io.h>
 #include <linux/delay.h>
+#include <linux/module.h>
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/version.h>
index 0e3a9f2c5297658dd001782734dad639e9daf811..2d22310dce0562f5caf6864d16bd512296febf67 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <linux/init.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <sound/core.h>
 #include <sound/control.h>
 #include <sound/tea6330t.h>
index c99c6078be3376fa792f8b335e31f57a80a7c221..a606cea65645f72134a2b0f0a589204d72f9cf87 100644 (file)
@@ -22,6 +22,7 @@
 #include "emu8000_local.h"
 #include <asm/uaccess.h>
 #include <linux/moduleparam.h>
+#include <linux/module.h>
 
 static int emu8000_reset_addr;
 module_param(emu8000_reset_addr, int, 0444);
index 0c7905c85b760a287ee79242f40c9d66b95b00eb..4e3fcfb15ad4a98eea8c06d97b77e1655e469d50 100644 (file)
@@ -22,6 +22,7 @@
 
 #include "emu8000_local.h"
 #include <linux/init.h>
+#include <linux/module.h>
 #include <sound/initval.h>
 
 MODULE_AUTHOR("Takashi Iwai, Steve Ratcliffe");
index 657e2d6c01ac55fcf56f047b71632139304aad22..e51e0906050b59ff09f25b450d397031ff34d921 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/time.h>
 #include <linux/wait.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <linux/firmware.h>
 #include <sound/core.h>
 #include <sound/snd_wavefront.h>
index 4fb7b19ff393292480da357a845f8420919bd161..405f8b6a58b53db482376efd456c6e2ddaf6e2a3 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/firmware.h>
 #include <linux/moduleparam.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <sound/core.h>
 #include <sound/snd_wavefront.h>
 #include <sound/initval.h>
index 9683f84ecdc835ea964932e358b4a66bcbc6a628..8b7d9a0df4faa9489038cae5955cd82e9aa7fd83 100644 (file)
@@ -33,6 +33,7 @@ Common Linux HPI ioctl and module probe/remove functions
 #include <asm/uaccess.h>
 #include <linux/pci.h>
 #include <linux/stringify.h>
+#include <linux/module.h>
 
 #ifdef MODULE_FIRMWARE
 MODULE_FIRMWARE("asihpi/dsp5000.bin");
index b259aa03a3a90535fe3551bece04bb0bb918b1ed..33931ef5e129b046b5bb9e5c76c3e0070deef04c 100644 (file)
@@ -12,6 +12,7 @@
 #include <linux/pci.h>
 #include <linux/moduleparam.h>
 #include <linux/pci_ids.h>
+#include <linux/module.h>
 #include <sound/core.h>
 #include <sound/initval.h>
 #include "ctatc.h"
index dfa85cbb05c807cbb4239963e64480814969d4f7..f8428e410e050bb4649d235038cd835284a660ab 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/device.h>
 #include <linux/err.h>
 #include <linux/kernel.h>
+#include <linux/module.h>
 
 #include "tegra_asoc_utils.h"
 
index f16a3fce45975a30c18975519283c92695d44c15..93522072bc87c9c69cf1ea8a4031bf5d60c4386e 100644 (file)
@@ -24,6 +24,7 @@
 #include <sound/core.h>
 #include <sound/emux_synth.h>
 #include <linux/init.h>
+#include <linux/module.h>
 #include "emux_voice.h"
 
 MODULE_AUTHOR("Takashi Iwai");
index ca5f7effb4df48815c2367bd8473f1e1024fefdc..7778b8e19782e24a3ca56a5aa5dff9e00bf33e4d 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "emux_voice.h"
 #include <linux/slab.h>
-
+#include <linux/module.h>
 
 /* Prototypes for static functions */
 static void free_port(void *private);
index c85522e3808da75afa81283fe74c002c8a362f59..8e34bc4e07ec3a62d93d9a0d0ca693a77ba9749f 100644 (file)
@@ -21,6 +21,7 @@
 #include <linux/mutex.h>
 #include <linux/init.h>
 #include <linux/slab.h>
+#include <linux/module.h>
 #include <sound/core.h>
 #include <sound/util_mem.h>
 
index 1e3ae3327dd3a65431b4a517ab5b340dac2ee6f7..3ebbdec2a46487f0917320bc4bb7d882ea60cbe0 100644 (file)
@@ -15,6 +15,7 @@
  */
 
 #include <linux/firmware.h>
+#include <linux/module.h>
 #include <linux/bitrev.h>
 
 #include "firmware.h"
index f9289102886ad890987a0d27739a19f1e48afdd4..7c89a3b5c3da6053f29cac270e0b57787a0dccf5 100644 (file)
@@ -47,6 +47,7 @@
 #include <linux/usb.h>
 #include <linux/wait.h>
 #include <linux/usb/audio.h>
+#include <linux/module.h>
 
 #include <sound/core.h>
 #include <sound/control.h>