From 65a772172b06e6e9b43e5ad77dccbcc767ff9831 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Fri, 15 Jul 2011 13:13:37 -0400 Subject: sound: fix drivers needing module.h not moduleparam.h The implicit presence of module.h lured several users into incorrectly thinking that they only needed/used modparam.h but once we clean up the module.h presence, these will show up as build failures, so fix 'em now. Signed-off-by: Paul Gortmaker --- sound/core/oss/pcm_oss.c | 2 +- sound/core/rawmidi.c | 2 +- sound/core/seq/oss/seq_oss.c | 2 +- sound/core/seq/seq.c | 2 +- sound/core/seq/seq_dummy.c | 2 +- sound/core/seq/seq_midi.c | 2 +- sound/core/sound.c | 2 +- sound/core/timer.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'sound/core') diff --git a/sound/core/oss/pcm_oss.c b/sound/core/oss/pcm_oss.c index 23c34a0..3cc4b86 100644 --- a/sound/core/oss/pcm_oss.c +++ b/sound/core/oss/pcm_oss.c @@ -30,7 +30,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/sound/core/rawmidi.c b/sound/core/rawmidi.c index 849a0ed..ebf6e49 100644 --- a/sound/core/rawmidi.c +++ b/sound/core/rawmidi.c @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/sound/core/seq/oss/seq_oss.c b/sound/core/seq/oss/seq_oss.c index a1f1a2f..8d4d5e8 100644 --- a/sound/core/seq/oss/seq_oss.c +++ b/sound/core/seq/oss/seq_oss.c @@ -21,7 +21,7 @@ */ #include -#include +#include #include #include #include diff --git a/sound/core/seq/seq.c b/sound/core/seq/seq.c index 119fddb6..9d8379a 100644 --- a/sound/core/seq/seq.c +++ b/sound/core/seq/seq.c @@ -20,7 +20,7 @@ */ #include -#include +#include #include #include diff --git a/sound/core/seq/seq_dummy.c b/sound/core/seq/seq_dummy.c index 1d7d90c..b9b2235 100644 --- a/sound/core/seq/seq_dummy.c +++ b/sound/core/seq/seq_dummy.c @@ -20,7 +20,7 @@ #include #include -#include +#include #include #include "seq_clientmgr.h" #include diff --git a/sound/core/seq/seq_midi.c b/sound/core/seq/seq_midi.c index ebaf1b5..64069db 100644 --- a/sound/core/seq/seq_midi.c +++ b/sound/core/seq/seq_midi.c @@ -30,7 +30,7 @@ Possible options for midisynth module: #include #include #include -#include +#include #include #include #include diff --git a/sound/core/sound.c b/sound/core/sound.c index 1c7a3ef..828af35 100644 --- a/sound/core/sound.c +++ b/sound/core/sound.c @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/sound/core/timer.c b/sound/core/timer.c index 67ebf1c..8e7561d 100644 --- a/sound/core/timer.c +++ b/sound/core/timer.c @@ -24,7 +24,7 @@ #include #include #include -#include +#include #include #include #include -- cgit v1.1 From 31623caaf0f84f17d632f16c1cdf42e7e21e807a Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Wed, 31 Aug 2011 17:02:47 -0400 Subject: sound: add moduleparam.h to users of module_param/MODULE_PARM_DESC These files were getting access to these two via the implicit presence of moduleparam.h everywhere. But that is being fixed, so get these guys what they need in advance. Signed-off-by: Paul Gortmaker --- sound/core/misc.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sound/core') diff --git a/sound/core/misc.c b/sound/core/misc.c index eb9fe2e..9aad55b 100644 --- a/sound/core/misc.c +++ b/sound/core/misc.c @@ -20,6 +20,7 @@ */ #include +#include #include #include #include -- cgit v1.1 From da155d5b40587815a4397e1a69382fe2366d940b Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Fri, 15 Jul 2011 12:38:28 -0400 Subject: sound: Add module.h to the previously silent sound users Lots of sound drivers were getting module.h via the implicit presence of it in but we are going to clean that up. So fix up those users now. Signed-off-by: Paul Gortmaker --- sound/core/control.c | 1 + sound/core/hwdep.c | 1 + sound/core/info.c | 1 + sound/core/init.c | 1 + sound/core/jack.c | 1 + sound/core/oss/mixer_oss.c | 1 + sound/core/pcm.c | 1 + sound/core/pcm_native.c | 1 + sound/core/seq/oss/seq_oss_synth.c | 1 + sound/core/seq/seq_device.c | 1 + sound/core/seq/seq_midi_emul.c | 1 + sound/core/seq/seq_midi_event.c | 1 + sound/core/seq/seq_ports.c | 1 + sound/core/seq/seq_virmidi.c | 1 + 14 files changed, 14 insertions(+) (limited to 'sound/core') diff --git a/sound/core/control.c b/sound/core/control.c index 978fe1a..49721f5 100644 --- a/sound/core/control.c +++ b/sound/core/control.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include diff --git a/sound/core/hwdep.c b/sound/core/hwdep.c index a70ee7f..c7ceb28 100644 --- a/sound/core/hwdep.c +++ b/sound/core/hwdep.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/sound/core/info.c b/sound/core/info.c index 601f0eb..c1e611c 100644 --- a/sound/core/info.c +++ b/sound/core/info.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/sound/core/init.c b/sound/core/init.c index 2c041bb..3ac49b1 100644 --- a/sound/core/init.c +++ b/sound/core/init.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include diff --git a/sound/core/jack.c b/sound/core/jack.c index 240a3e1..26edf63 100644 --- a/sound/core/jack.c +++ b/sound/core/jack.c @@ -21,6 +21,7 @@ #include #include +#include #include #include diff --git a/sound/core/oss/mixer_oss.c b/sound/core/oss/mixer_oss.c index 1b5e0c4..18297f7 100644 --- a/sound/core/oss/mixer_oss.c +++ b/sound/core/oss/mixer_oss.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/sound/core/pcm.c b/sound/core/pcm.c index ee9abb2..8928ca87 100644 --- a/sound/core/pcm.c +++ b/sound/core/pcm.c @@ -21,6 +21,7 @@ #include #include +#include #include #include #include diff --git a/sound/core/pcm_native.c b/sound/core/pcm_native.c index d7d2179..25ed9fe 100644 --- a/sound/core/pcm_native.c +++ b/sound/core/pcm_native.c @@ -20,6 +20,7 @@ */ #include +#include #include #include #include diff --git a/sound/core/seq/oss/seq_oss_synth.c b/sound/core/seq/oss/seq_oss_synth.c index ee44ab9..c5b773a 100644 --- a/sound/core/seq/oss/seq_oss_synth.c +++ b/sound/core/seq/oss/seq_oss_synth.c @@ -24,6 +24,7 @@ #include "seq_oss_midi.h" #include "../seq_lock.h" #include +#include #include /* diff --git a/sound/core/seq/seq_device.c b/sound/core/seq/seq_device.c index 1f99767..5cf8d65 100644 --- a/sound/core/seq/seq_device.c +++ b/sound/core/seq/seq_device.c @@ -37,6 +37,7 @@ */ #include +#include #include #include #include diff --git a/sound/core/seq/seq_midi_emul.c b/sound/core/seq/seq_midi_emul.c index 07c6631..6f64471 100644 --- a/sound/core/seq/seq_midi_emul.c +++ b/sound/core/seq/seq_midi_emul.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include diff --git a/sound/core/seq/seq_midi_event.c b/sound/core/seq/seq_midi_event.c index b5d6ea4..37db7ba 100644 --- a/sound/core/seq/seq_midi_event.c +++ b/sound/core/seq/seq_midi_event.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/sound/core/seq/seq_ports.c b/sound/core/seq/seq_ports.c index e12bcd9..9516e5c 100644 --- a/sound/core/seq/seq_ports.c +++ b/sound/core/seq/seq_ports.c @@ -22,6 +22,7 @@ #include #include +#include #include "seq_system.h" #include "seq_ports.h" #include "seq_clientmgr.h" diff --git a/sound/core/seq/seq_virmidi.c b/sound/core/seq/seq_virmidi.c index 86e7739..4b50e60 100644 --- a/sound/core/seq/seq_virmidi.c +++ b/sound/core/seq/seq_virmidi.c @@ -37,6 +37,7 @@ #include #include +#include #include #include #include -- cgit v1.1 From d81a6d71760c4d8323f1f9a506c64084caa09063 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Thu, 22 Sep 2011 09:34:58 -0400 Subject: sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed These aren't modules, but they do make use of these macros, so they will need export.h to get that definition. Previously, they got it via the implicit module.h inclusion. Signed-off-by: Paul Gortmaker --- sound/core/device.c | 1 + sound/core/info_oss.c | 1 + sound/core/isadma.c | 1 + sound/core/memory.c | 1 + sound/core/misc.c | 1 + sound/core/pcm_lib.c | 1 + sound/core/pcm_memory.c | 1 + sound/core/pcm_misc.c | 1 + sound/core/seq/oss/seq_oss_init.c | 1 + sound/core/seq/seq_clientmgr.c | 1 + sound/core/seq/seq_info.c | 1 + sound/core/seq/seq_lock.c | 1 + sound/core/seq/seq_memory.c | 1 + sound/core/seq/seq_system.c | 1 + sound/core/sound_oss.c | 1 + sound/core/vmaster.c | 1 + 16 files changed, 16 insertions(+) (limited to 'sound/core') diff --git a/sound/core/device.c b/sound/core/device.c index 2d1ad4b0..f03cb54 100644 --- a/sound/core/device.c +++ b/sound/core/device.c @@ -21,6 +21,7 @@ #include #include +#include #include #include diff --git a/sound/core/info_oss.c b/sound/core/info_oss.c index e4af138..cf42ab5 100644 --- a/sound/core/info_oss.c +++ b/sound/core/info_oss.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include diff --git a/sound/core/isadma.c b/sound/core/isadma.c index 950e19b..c0f1208 100644 --- a/sound/core/isadma.c +++ b/sound/core/isadma.c @@ -26,6 +26,7 @@ #undef HAVE_REALLY_SLOW_DMA_CONTROLLER +#include #include #include diff --git a/sound/core/memory.c b/sound/core/memory.c index 1161158..66a278d 100644 --- a/sound/core/memory.c +++ b/sound/core/memory.c @@ -20,6 +20,7 @@ * */ +#include #include #include #include diff --git a/sound/core/misc.c b/sound/core/misc.c index 9aad55b..465f0ce 100644 --- a/sound/core/misc.c +++ b/sound/core/misc.c @@ -20,6 +20,7 @@ */ #include +#include #include #include #include diff --git a/sound/core/pcm_lib.c b/sound/core/pcm_lib.c index 95d1e78..3420bd3 100644 --- a/sound/core/pcm_lib.c +++ b/sound/core/pcm_lib.c @@ -23,6 +23,7 @@ #include #include #include +#include #include #include #include diff --git a/sound/core/pcm_memory.c b/sound/core/pcm_memory.c index 150cb7e..9571313 100644 --- a/sound/core/pcm_memory.c +++ b/sound/core/pcm_memory.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/sound/core/pcm_misc.c b/sound/core/pcm_misc.c index 88f02e3..9c9eff9 100644 --- a/sound/core/pcm_misc.c +++ b/sound/core/pcm_misc.c @@ -20,6 +20,7 @@ */ #include +#include #include #include #define SND_PCM_FORMAT_UNKNOWN (-1) diff --git a/sound/core/seq/oss/seq_oss_init.c b/sound/core/seq/oss/seq_oss_init.c index 69cd7b3..e3cb46f 100644 --- a/sound/core/seq/oss/seq_oss_init.c +++ b/sound/core/seq/oss/seq_oss_init.c @@ -28,6 +28,7 @@ #include "seq_oss_timer.h" #include "seq_oss_event.h" #include +#include #include #include diff --git a/sound/core/seq/seq_clientmgr.c b/sound/core/seq/seq_clientmgr.c index f2436d3..4dc6bae 100644 --- a/sound/core/seq/seq_clientmgr.c +++ b/sound/core/seq/seq_clientmgr.c @@ -22,6 +22,7 @@ */ #include +#include #include #include #include diff --git a/sound/core/seq/seq_info.c b/sound/core/seq/seq_info.c index 201f810..acf7769 100644 --- a/sound/core/seq/seq_info.c +++ b/sound/core/seq/seq_info.c @@ -20,6 +20,7 @@ */ #include +#include #include #include "seq_info.h" diff --git a/sound/core/seq/seq_lock.c b/sound/core/seq/seq_lock.c index 54f921e..2cfe50c 100644 --- a/sound/core/seq/seq_lock.c +++ b/sound/core/seq/seq_lock.c @@ -19,6 +19,7 @@ * */ +#include #include #include "seq_lock.h" diff --git a/sound/core/seq/seq_memory.c b/sound/core/seq/seq_memory.c index 7f50c14..f478f77 100644 --- a/sound/core/seq/seq_memory.c +++ b/sound/core/seq/seq_memory.c @@ -21,6 +21,7 @@ */ #include +#include #include #include #include diff --git a/sound/core/seq/seq_system.c b/sound/core/seq/seq_system.c index c38b90c..8ce1d0b 100644 --- a/sound/core/seq/seq_system.c +++ b/sound/core/seq/seq_system.c @@ -20,6 +20,7 @@ */ #include +#include #include #include #include "seq_system.h" diff --git a/sound/core/sound_oss.c b/sound/core/sound_oss.c index 0c164e5..c700920 100644 --- a/sound/core/sound_oss.c +++ b/sound/core/sound_oss.c @@ -26,6 +26,7 @@ #endif #include +#include #include #include #include diff --git a/sound/core/vmaster.c b/sound/core/vmaster.c index a39d3d8..5dbab38 100644 --- a/sound/core/vmaster.c +++ b/sound/core/vmaster.c @@ -10,6 +10,7 @@ */ #include +#include #include #include #include -- cgit v1.1