sound: Add export.h for THIS_MODULE/EXPORT_SYMBOL where needed
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 22 Sep 2011 13:34:58 +0000 (09:34 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:22 +0000 (19:31 -0400)
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>
45 files changed:
sound/core/device.c
sound/core/info_oss.c
sound/core/isadma.c
sound/core/memory.c
sound/core/misc.c
sound/core/pcm_lib.c
sound/core/pcm_memory.c
sound/core/pcm_misc.c
sound/core/seq/oss/seq_oss_init.c
sound/core/seq/seq_clientmgr.c
sound/core/seq/seq_info.c
sound/core/seq/seq_lock.c
sound/core/seq/seq_memory.c
sound/core/seq/seq_system.c
sound/core/sound_oss.c
sound/core/vmaster.c
sound/drivers/opl3/opl3_oss.c
sound/drivers/opl3/opl3_synth.c
sound/drivers/opl4/opl4_proc.c
sound/firewire/iso-resources.c
sound/firewire/packets-buffer.c
sound/isa/gus/gus_volume.c
sound/isa/msnd/msnd_midi.c
sound/isa/msnd/msnd_pinnacle_mixer.c
sound/isa/sb/emu8000.c
sound/isa/sb/emu8000_callback.c
sound/pci/ac97/ac97_pcm.c
sound/pci/au88x0/au88x0_game.c
sound/pci/cs46xx/cs46xx_lib.c
sound/pci/emu10k1/emu10k1_callback.c
sound/pci/emu10k1/io.c
sound/pci/emu10k1/memory.c
sound/pci/emu10k1/voice.c
sound/pci/hda/hda_beep.c
sound/pci/hda/hda_generic.c
sound/pci/hda/hda_hwdep.c
sound/pci/oxygen/oxygen_io.c
sound/pci/trident/trident_main.c
sound/soc/soc-cache.c
sound/soc/soc-io.c
sound/soc/soc-jack.c
sound/soc/soc-utils.c
sound/synth/emux/emux_oss.c
sound/synth/emux/emux_synth.c
sound/synth/emux/soundfont.c

index 2d1ad4b0cd653171c7d175b1b3edadc29b10abf6..f03cb5444a5ae8c0d04901c5a8c2af2902ce6300 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <linux/slab.h>
 #include <linux/time.h>
+#include <linux/export.h>
 #include <linux/errno.h>
 #include <sound/core.h>
 
index e4af138d651af950488a40d5c9ad4f1435b602b8..cf42ab5080eb59eb495fa4ae617b98085c26d057 100644 (file)
@@ -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>
index 950e19ba91fca466202bcac2cc77b1efb87562fa..c0f1208bb7dfefe40fbf736b3d8e43429abe28a2 100644 (file)
@@ -26,6 +26,7 @@
 
 #undef HAVE_REALLY_SLOW_DMA_CONTROLLER
 
+#include <linux/export.h>
 #include <sound/core.h>
 #include <asm/dma.h>
 
index 1161158582a6ce112ab3a7329b2ad09507b57979..66a278d0b04e76937c2e14c263829edd232890ce 100644 (file)
@@ -20,6 +20,7 @@
  *
  */
 
+#include <linux/export.h>
 #include <asm/io.h>
 #include <asm/uaccess.h>
 #include <sound/core.h>
index 9aad55b9f1f0ba24ce9737cbbaadaf6773ad0891..465f0ce772cb594dabe34e3d835c5766ec6d873b 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include <linux/init.h>
+#include <linux/export.h>
 #include <linux/moduleparam.h>
 #include <linux/time.h>
 #include <linux/slab.h>
index 95d1e789715f13b0ae9185dc213da64728d43c76..3420bd3da5d70ffec570e058d84b20f39aab49b8 100644 (file)
@@ -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>
index 150cb7edffee44948cd3600b75b5cb37de1c9484..957131366dd93b47300832ec6b8c65fa821aca4f 100644 (file)
@@ -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>
index 88f02e3866e0f355fde874e94099e990dcd79f4d..9c9eff9afbac85030effbe23b1aa1b6e117912f2 100644 (file)
@@ -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)
index 69cd7b3c362d19f4b0ac989b8bc107e49e59ff1b..e3cb46fef2c76b4cca8d67a52f212deb41598caf 100644 (file)
@@ -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>
 
index f2436d33fbf7182a62ae1bc1744a41f8bdb385ce..4dc6bae80e15b92a005325f845f0cc16fcd67ce0 100644 (file)
@@ -22,6 +22,7 @@
  */
 
 #include <linux/init.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <sound/core.h>
 #include <sound/minors.h>
index 201f8106ffdd9b36224a9c798997457db65b92cc..acf7769419f06972cfb179991ca6754fda6df531 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include <linux/init.h>
+#include <linux/export.h>
 #include <sound/core.h>
 
 #include "seq_info.h"
index 54f921edda793aab4948b0c72259528ee0885d9d..2cfe50c71a9d3d62b580f5132a8faf154689b30d 100644 (file)
@@ -19,6 +19,7 @@
  *
  */
 
+#include <linux/export.h>
 #include <sound/core.h>
 #include "seq_lock.h"
 
index 7f50c1437675c8882b7ba943c31f6ae96b460f31..f478f770bf5213f11663bad4041ad256664e6fe6 100644 (file)
@@ -21,6 +21,7 @@
  */
 
 #include <linux/init.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
 #include <sound/core.h>
index c38b90cf3cb07ac6c74514cfa807590dd6c92bcf..8ce1d0b40dce1f0821f9cf9c144fed1ed27e413d 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include <linux/init.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <sound/core.h>
 #include "seq_system.h"
index 0c164e5e43222b1787463fbb265084b4142d4953..c700920430618f94a0dc0f7957ed75b813481507 100644 (file)
@@ -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>
index a39d3d8c2f9c9edb53025953c102f5d5cdb89aa3..5dbab38d04af77872b2f8b149e2dbe6c228bc9fa 100644 (file)
@@ -10,6 +10,7 @@
  */
 
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include <sound/control.h>
 #include <sound/tlv.h>
index ade3ca52422ef81ca639698c739dee6863185670..c1cb249acfaa66ffed8e9a05b5f070533df39fd5 100644 (file)
@@ -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);
index 301acb6b9cf9af792ddc33160989dcb8dbcc8769..742a4b642fd9ea19adfcd195244c8fbc9bfa5fb1 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include <linux/slab.h>
+#include <linux/export.h>
 #include <sound/opl3.h>
 #include <sound/asound_fm.h>
 
index df850b8830a52473819c4b7dd31777bfef25f160..9b824bfc919db5baef8d1aee976218b903599c83 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "opl4_local.h"
 #include <linux/vmalloc.h>
+#include <linux/export.h>
 #include <sound/info.h>
 
 #ifdef CONFIG_PROC_FS
index ffe20b877e9f2d9ba305f6b0ed107291bb954d97..5f17b77ee15222ad0e43c3c6b5b13688b386417f 100644 (file)
@@ -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>
index 3c61ca2e6152472c81e6d59fca0a7e6c3bd1dbca..ea1506679c6650753b2efea810e77d85c9ddb0f5 100644 (file)
@@ -6,6 +6,7 @@
  */
 
 #include <linux/firewire.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include "packets-buffer.h"
 
index c3c028a4a46b5a5b7c0b3c25c838a05754b6f4ce..3dd841ae708a270bef6b84d9e02e9e4ccb215a43 100644 (file)
@@ -19,6 +19,7 @@
  */
 
 #include <linux/time.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include <sound/gus.h>
 #define __GUS_TABLES_ALLOC__
index 787495674235ecf2e5b9708d2b98d585282b0a77..ffc67fd80c23da47f770042b833b425cabbf5ff6 100644 (file)
@@ -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>
 
index 494058a1a50282f111d18bd80cf85a33f8b3e814..1de59d4414260a6c6a20b9454c112eb99d0f08e4 100644 (file)
@@ -16,6 +16,7 @@
  ***************************************************************************/
 
 #include <linux/io.h>
+#include <linux/export.h>
 
 #include <sound/core.h>
 #include <sound/control.h>
index 5d61f5a29130eed6ce0b7c68e6d2a5dfc3c6a340..71887874679c1ae7d93b436a7998e86c5717e7ba 100644 (file)
@@ -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>
index 9a3c71cc2e07c69e832d04583ef1394a715a7a04..344b4355be1cd79b898227e5a39661129227f3e9 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include "emu8000_local.h"
+#include <linux/export.h>
 #include <sound/asoundef.h>
 
 /*
index 48cbda9378c5fc2ed4b295f7731c44ae1a11e58c..f1488fc176d5fae3ded6a27dbf81f311b84f4d7b 100644 (file)
@@ -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>
index e291aa59742e7c31c85e8f220a5248c661916c80..c07c792bde8d27a8ad8c6627ac0c8de784c2608e 100644 (file)
@@ -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))
 
index 9546bf07f0d130a73d52b8a9778fe8cd44902d8c..4fa53161b0944fd6b308fcc928e73db1d628e718 100644 (file)
@@ -53,6 +53,7 @@
 #include <linux/slab.h>
 #include <linux/gameport.h>
 #include <linux/mutex.h>
+#include <linux/export.h>
 
 
 #include <sound/core.h>
index 7ef949d99a50a551d2e81b85175e01d96fa18728..a0afa5057488895b9e5710ccc57017db6d21e6d4 100644 (file)
@@ -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>
 
index 5ef7080e14d090c2c83ea5b6edb0705f0e09a249..e4fba49fee4a9cd633e0968203832ac7a1dbc4fe 100644 (file)
@@ -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)
index c250614dadd0c9c2d0ed3dc4cdfdca7a8148332b..4f502a2bdc3c51759ef26a4c4f80c858cc6192f9 100644 (file)
@@ -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>
index 20b8da250bd087190717e0f9774f9e8939e20a79..101e7cb79cb260dd8f669cda3f952e5ad64a18b2 100644 (file)
@@ -29,6 +29,7 @@
  */
 
 #include <linux/time.h>
+#include <linux/export.h>
 #include <sound/core.h>
 #include <sound/emu10k1.h>
 
index 29714c818b53b9387609b67b409e7b15bf9ea2ef..60738e52b8f9becb3ccd74786a2326748df11cb9 100644 (file)
@@ -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"
index a63c54d9d767a4219890c7a40b9741c6ce72da73..431bf868711ec1fc1749c3910d940822200b1da9 100644 (file)
@@ -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"
index 72e5885007ccfa39887389f644bd06fa1c77bcd2..a6d54595bb7b58f5006cbd4cdee33dc77169d8a7 100644 (file)
@@ -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"
index f5164b1e1c80bd1c11b695425175af98ce74185c..521eae458348c723bd87519cd4fcdbd0530c2f00 100644 (file)
@@ -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>
index 5bd57a7c52d20bb39bd9ff07a96dd400794f4ef7..61d3c0e8d4cead73f79547bf2b3d6f65286bf521 100644 (file)
@@ -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>
index 143c705ac27b82fbefd61144be79089511c1bfd3..9077aa4b3b4ed975da4430789ff3961810e8df0e 100644 (file)
@@ -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>
 
index dd89933e2c723c1d4f0b8b1dce46baaefdcf29b3..c8610cbf34a51cf9f2e856cc847a730f64a1d016 100644 (file)
@@ -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>
index 52db96636290372b40ddffaf15f6888bdbcc67b1..6c5ebd38c1b0f050f515dbb2dc1c47acaafc1ba4 100644 (file)
@@ -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>
 
 /**
index ec921ec99c2621eaa58b7d0c5e4eb97b861971de..0c12b98484bdd8316418358b5cead696e8774c57 100644 (file)
@@ -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>
index 87e42206c4ef02aabc071d56ba9c6ceedc47f453..319754cf62086ef86723a9df60c236d31edfab16 100644 (file)
@@ -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"
index 3e921b386fd5a6c81c70cf73611831fb83634bbf..9a38de459acb059db4d12b3ca1c9955adeebed60 100644 (file)
@@ -22,6 +22,7 @@
  *
  */
 
+#include <linux/export.h>
 #include "emux_voice.h"
 #include <sound/asoundef.h>
 
index 67c91230c1977766d117ef9311f8be91708eec79..1137b85c36e6d5d9e9c103810975a6f7c79d539f 100644 (file)
@@ -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>