aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-09-22 09:34:58 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:31:22 -0400
commitd81a6d71760c4d8323f1f9a506c64084caa09063 (patch)
tree8124e28291f2b46add8fb979f86d055e41d58d6e /sound/drivers
parentda155d5b40587815a4397e1a69382fe2366d940b (diff)
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>
Diffstat (limited to 'sound/drivers')
-rw-r--r--sound/drivers/opl3/opl3_oss.c1
-rw-r--r--sound/drivers/opl3/opl3_synth.c1
-rw-r--r--sound/drivers/opl4/opl4_proc.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/sound/drivers/opl3/opl3_oss.c b/sound/drivers/opl3/opl3_oss.c
index ade3ca52422e..c1cb249acfaa 100644
--- a/sound/drivers/opl3/opl3_oss.c
+++ b/sound/drivers/opl3/opl3_oss.c
@@ -18,6 +18,7 @@
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 */ 19 */
20 20
21#include <linux/export.h>
21#include "opl3_voice.h" 22#include "opl3_voice.h"
22 23
23static int snd_opl3_open_seq_oss(struct snd_seq_oss_arg *arg, void *closure); 24static int snd_opl3_open_seq_oss(struct snd_seq_oss_arg *arg, void *closure);
diff --git a/sound/drivers/opl3/opl3_synth.c b/sound/drivers/opl3/opl3_synth.c
index 301acb6b9cf9..742a4b642fd9 100644
--- a/sound/drivers/opl3/opl3_synth.c
+++ b/sound/drivers/opl3/opl3_synth.c
@@ -20,6 +20,7 @@
20 */ 20 */
21 21
22#include <linux/slab.h> 22#include <linux/slab.h>
23#include <linux/export.h>
23#include <sound/opl3.h> 24#include <sound/opl3.h>
24#include <sound/asound_fm.h> 25#include <sound/asound_fm.h>
25 26
diff --git a/sound/drivers/opl4/opl4_proc.c b/sound/drivers/opl4/opl4_proc.c
index df850b8830a5..9b824bfc919d 100644
--- a/sound/drivers/opl4/opl4_proc.c
+++ b/sound/drivers/opl4/opl4_proc.c
@@ -19,6 +19,7 @@
19 19
20#include "opl4_local.h" 20#include "opl4_local.h"
21#include <linux/vmalloc.h> 21#include <linux/vmalloc.h>
22#include <linux/export.h>
22#include <sound/info.h> 23#include <sound/info.h>
23 24
24#ifdef CONFIG_PROC_FS 25#ifdef CONFIG_PROC_FS