瀏覽代碼

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 <paul.gortmaker@windriver.com>
Paul Gortmaker 13 年之前
父節點
當前提交
d81a6d7176
共有 45 個文件被更改,包括 45 次插入0 次删除
  1. 1 0
      sound/core/device.c
  2. 1 0
      sound/core/info_oss.c
  3. 1 0
      sound/core/isadma.c
  4. 1 0
      sound/core/memory.c
  5. 1 0
      sound/core/misc.c
  6. 1 0
      sound/core/pcm_lib.c
  7. 1 0
      sound/core/pcm_memory.c
  8. 1 0
      sound/core/pcm_misc.c
  9. 1 0
      sound/core/seq/oss/seq_oss_init.c
  10. 1 0
      sound/core/seq/seq_clientmgr.c
  11. 1 0
      sound/core/seq/seq_info.c
  12. 1 0
      sound/core/seq/seq_lock.c
  13. 1 0
      sound/core/seq/seq_memory.c
  14. 1 0
      sound/core/seq/seq_system.c
  15. 1 0
      sound/core/sound_oss.c
  16. 1 0
      sound/core/vmaster.c
  17. 1 0
      sound/drivers/opl3/opl3_oss.c
  18. 1 0
      sound/drivers/opl3/opl3_synth.c
  19. 1 0
      sound/drivers/opl4/opl4_proc.c
  20. 1 0
      sound/firewire/iso-resources.c
  21. 1 0
      sound/firewire/packets-buffer.c
  22. 1 0
      sound/isa/gus/gus_volume.c
  23. 1 0
      sound/isa/msnd/msnd_midi.c
  24. 1 0
      sound/isa/msnd/msnd_pinnacle_mixer.c
  25. 1 0
      sound/isa/sb/emu8000.c
  26. 1 0
      sound/isa/sb/emu8000_callback.c
  27. 1 0
      sound/pci/ac97/ac97_pcm.c
  28. 1 0
      sound/pci/au88x0/au88x0_game.c
  29. 1 0
      sound/pci/cs46xx/cs46xx_lib.c
  30. 1 0
      sound/pci/emu10k1/emu10k1_callback.c
  31. 1 0
      sound/pci/emu10k1/io.c
  32. 1 0
      sound/pci/emu10k1/memory.c
  33. 1 0
      sound/pci/emu10k1/voice.c
  34. 1 0
      sound/pci/hda/hda_beep.c
  35. 1 0
      sound/pci/hda/hda_generic.c
  36. 1 0
      sound/pci/hda/hda_hwdep.c
  37. 1 0
      sound/pci/oxygen/oxygen_io.c
  38. 1 0
      sound/pci/trident/trident_main.c
  39. 1 0
      sound/soc/soc-cache.c
  40. 1 0
      sound/soc/soc-io.c
  41. 1 0
      sound/soc/soc-jack.c
  42. 1 0
      sound/soc/soc-utils.c
  43. 1 0
      sound/synth/emux/emux_oss.c
  44. 1 0
      sound/synth/emux/emux_synth.c
  45. 1 0
      sound/synth/emux/soundfont.c

+ 1 - 0
sound/core/device.c

@@ -21,6 +21,7 @@
 
 #include <linux/slab.h>
 #include <linux/time.h>
+#include <linux/export.h>
 #include <linux/errno.h>
 #include <sound/core.h>
 

+ 1 - 0
sound/core/info_oss.c

@@ -22,6 +22,7 @@
 #include <linux/slab.h>
 #include <linux/time.h>
 #include <linux/string.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include <sound/minors.h>
 #include <sound/info.h>

+ 1 - 0
sound/core/isadma.c

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

+ 1 - 0
sound/core/memory.c

@@ -20,6 +20,7 @@
  *
  */
 
+#include <linux/export.h>
 #include <asm/io.h>
 #include <asm/uaccess.h>
 #include <sound/core.h>

+ 1 - 0
sound/core/misc.c

@@ -20,6 +20,7 @@
  */
 
 #include <linux/init.h>
+#include <linux/export.h>
 #include <linux/moduleparam.h>
 #include <linux/time.h>
 #include <linux/slab.h>

+ 1 - 0
sound/core/pcm_lib.c

@@ -23,6 +23,7 @@
 #include <linux/slab.h>
 #include <linux/time.h>
 #include <linux/math64.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include <sound/control.h>
 #include <sound/info.h>

+ 1 - 0
sound/core/pcm_memory.c

@@ -25,6 +25,7 @@
 #include <linux/slab.h>
 #include <linux/moduleparam.h>
 #include <linux/vmalloc.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/info.h>

+ 1 - 0
sound/core/pcm_misc.c

@@ -20,6 +20,7 @@
  */
   
 #include <linux/time.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #define SND_PCM_FORMAT_UNKNOWN (-1)

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

@@ -28,6 +28,7 @@
 #include "seq_oss_timer.h"
 #include "seq_oss_event.h"
 #include <linux/init.h>
+#include <linux/export.h>
 #include <linux/moduleparam.h>
 #include <linux/slab.h>
 

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

@@ -22,6 +22,7 @@
  */
 
 #include <linux/init.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <sound/core.h>
 #include <sound/minors.h>

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

@@ -20,6 +20,7 @@
  */
 
 #include <linux/init.h>
+#include <linux/export.h>
 #include <sound/core.h>
 
 #include "seq_info.h"

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

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

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

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

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

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

+ 1 - 0
sound/core/sound_oss.c

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

+ 1 - 0
sound/core/vmaster.c

@@ -10,6 +10,7 @@
  */
 
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include <sound/control.h>
 #include <sound/tlv.h>

+ 1 - 0
sound/drivers/opl3/opl3_oss.c

@@ -18,6 +18,7 @@
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
+#include <linux/export.h>
 #include "opl3_voice.h"
 
 static int snd_opl3_open_seq_oss(struct snd_seq_oss_arg *arg, void *closure);

+ 1 - 0
sound/drivers/opl3/opl3_synth.c

@@ -20,6 +20,7 @@
  */
 
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <sound/opl3.h>
 #include <sound/asound_fm.h>
 

+ 1 - 0
sound/drivers/opl4/opl4_proc.c

@@ -19,6 +19,7 @@
 
 #include "opl4_local.h"
 #include <linux/vmalloc.h>
+#include <linux/export.h>
 #include <sound/info.h>
 
 #ifdef CONFIG_PROC_FS

+ 1 - 0
sound/firewire/iso-resources.c

@@ -8,6 +8,7 @@
 #include <linux/device.h>
 #include <linux/firewire.h>
 #include <linux/firewire-constants.h>
+#include <linux/export.h>
 #include <linux/jiffies.h>
 #include <linux/mutex.h>
 #include <linux/sched.h>

+ 1 - 0
sound/firewire/packets-buffer.c

@@ -6,6 +6,7 @@
  */
 
 #include <linux/firewire.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include "packets-buffer.h"
 

+ 1 - 0
sound/isa/gus/gus_volume.c

@@ -19,6 +19,7 @@
  */
 
 #include <linux/time.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include <sound/gus.h>
 #define __GUS_TABLES_ALLOC__

+ 1 - 0
sound/isa/msnd/msnd_midi.c

@@ -29,6 +29,7 @@
 #include <linux/delay.h>
 #include <linux/ioport.h>
 #include <linux/errno.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include <sound/rawmidi.h>
 

+ 1 - 0
sound/isa/msnd/msnd_pinnacle_mixer.c

@@ -16,6 +16,7 @@
  ***************************************************************************/
 
 #include <linux/io.h>
+#include <linux/export.h>
 
 #include <sound/core.h>
 #include <sound/control.h>

+ 1 - 0
sound/isa/sb/emu8000.c

@@ -24,6 +24,7 @@
 #include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/ioport.h>
+#include <linux/export.h>
 #include <linux/delay.h>
 #include <sound/core.h>
 #include <sound/emu8000.h>

+ 1 - 0
sound/isa/sb/emu8000_callback.c

@@ -20,6 +20,7 @@
  */
 
 #include "emu8000_local.h"
+#include <linux/export.h>
 #include <sound/asoundef.h>
 
 /*

+ 1 - 0
sound/pci/ac97/ac97_pcm.c

@@ -27,6 +27,7 @@
 #include <linux/init.h>
 #include <linux/slab.h>
 #include <linux/mutex.h>
+#include <linux/export.h>
 
 #include <sound/core.h>
 #include <sound/pcm.h>

+ 1 - 0
sound/pci/au88x0/au88x0_game.c

@@ -34,6 +34,7 @@
 #include <sound/core.h>
 #include "au88x0.h"
 #include <linux/gameport.h>
+#include <linux/export.h>
 
 #if defined(CONFIG_GAMEPORT) || (defined(MODULE) && defined(CONFIG_GAMEPORT_MODULE))
 

+ 1 - 0
sound/pci/cs46xx/cs46xx_lib.c

@@ -53,6 +53,7 @@
 #include <linux/slab.h>
 #include <linux/gameport.h>
 #include <linux/mutex.h>
+#include <linux/export.h>
 
 
 #include <sound/core.h>

+ 1 - 0
sound/pci/emu10k1/emu10k1_callback.c

@@ -18,6 +18,7 @@
  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
  */
 
+#include <linux/export.h>
 #include "emu10k1_synth_local.h"
 #include <sound/asoundef.h>
 

+ 1 - 0
sound/pci/emu10k1/io.c

@@ -29,6 +29,7 @@
 #include <sound/core.h>
 #include <sound/emu10k1.h>
 #include <linux/delay.h>
+#include <linux/export.h>
 #include "p17v.h"
 
 unsigned int snd_emu10k1_ptr_read(struct snd_emu10k1 * emu, unsigned int reg, unsigned int chn)

+ 1 - 0
sound/pci/emu10k1/memory.c

@@ -25,6 +25,7 @@
 #include <linux/gfp.h>
 #include <linux/time.h>
 #include <linux/mutex.h>
+#include <linux/export.h>
 
 #include <sound/core.h>
 #include <sound/emu10k1.h>

+ 1 - 0
sound/pci/emu10k1/voice.c

@@ -29,6 +29,7 @@
  */
 
 #include <linux/time.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include <sound/emu10k1.h>
 

+ 1 - 0
sound/pci/hda/hda_beep.c

@@ -23,6 +23,7 @@
 #include <linux/pci.h>
 #include <linux/slab.h>
 #include <linux/workqueue.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include "hda_beep.h"
 #include "hda_local.h"

+ 1 - 0
sound/pci/hda/hda_generic.c

@@ -22,6 +22,7 @@
 
 #include <linux/init.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include "hda_codec.h"
 #include "hda_local.h"

+ 1 - 0
sound/pci/hda/hda_hwdep.c

@@ -26,6 +26,7 @@
 #include <linux/ctype.h>
 #include <linux/string.h>
 #include <linux/firmware.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include "hda_codec.h"
 #include "hda_local.h"

+ 1 - 0
sound/pci/oxygen/oxygen_io.c

@@ -19,6 +19,7 @@
 
 #include <linux/delay.h>
 #include <linux/sched.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include <sound/mpu401.h>
 #include <asm/io.h>

+ 1 - 0
sound/pci/trident/trident_main.c

@@ -35,6 +35,7 @@
 #include <linux/vmalloc.h>
 #include <linux/gameport.h>
 #include <linux/dma-mapping.h>
+#include <linux/export.h>
 
 #include <sound/core.h>
 #include <sound/info.h>

+ 1 - 0
sound/soc/soc-cache.c

@@ -17,6 +17,7 @@
 #include <linux/lzo.h>
 #include <linux/bitmap.h>
 #include <linux/rbtree.h>
+#include <linux/export.h>
 
 #include <trace/events/asoc.h>
 

+ 1 - 0
sound/soc/soc-io.c

@@ -14,6 +14,7 @@
 #include <linux/i2c.h>
 #include <linux/spi/spi.h>
 #include <linux/regmap.h>
+#include <linux/export.h>
 #include <sound/soc.h>
 
 #include <trace/events/asoc.h>

+ 1 - 0
sound/soc/soc-jack.c

@@ -17,6 +17,7 @@
 #include <linux/interrupt.h>
 #include <linux/workqueue.h>
 #include <linux/delay.h>
+#include <linux/export.h>
 #include <trace/events/asoc.h>
 
 /**

+ 1 - 0
sound/soc/soc-utils.c

@@ -14,6 +14,7 @@
  */
 
 #include <linux/platform_device.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>

+ 1 - 0
sound/synth/emux/emux_oss.c

@@ -25,6 +25,7 @@
 
 #ifdef CONFIG_SND_SEQUENCER_OSS
 
+#include <linux/export.h>
 #include <asm/uaccess.h>
 #include <sound/core.h>
 #include "emux_voice.h"

+ 1 - 0
sound/synth/emux/emux_synth.c

@@ -22,6 +22,7 @@
  *
  */
 
+#include <linux/export.h>
 #include "emux_voice.h"
 #include <sound/asoundef.h>
 

+ 1 - 0
sound/synth/emux/soundfont.c

@@ -27,6 +27,7 @@
  */
 #include <asm/uaccess.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include <sound/soundfont.h>
 #include <sound/seq_oss_legacy.h>