Commit ac19e19b authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[ALSA] opl3 - Move EXPORT_SYMBOL() to adjacent to each function

Move EXPORT_SYMBOL() to adjacent to each exported function/variable.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 7b09679c
...@@ -316,6 +316,8 @@ void snd_opl3_interrupt(struct snd_hwdep * hw) ...@@ -316,6 +316,8 @@ void snd_opl3_interrupt(struct snd_hwdep * hw)
} }
} }
EXPORT_SYMBOL(snd_opl3_interrupt);
/* /*
*/ */
...@@ -369,6 +371,8 @@ int snd_opl3_new(struct snd_card *card, ...@@ -369,6 +371,8 @@ int snd_opl3_new(struct snd_card *card,
return 0; return 0;
} }
EXPORT_SYMBOL(snd_opl3_new);
int snd_opl3_init(struct snd_opl3 *opl3) int snd_opl3_init(struct snd_opl3 *opl3)
{ {
if (! opl3->command) { if (! opl3->command) {
...@@ -393,6 +397,8 @@ int snd_opl3_init(struct snd_opl3 *opl3) ...@@ -393,6 +397,8 @@ int snd_opl3_init(struct snd_opl3 *opl3)
return 0; return 0;
} }
EXPORT_SYMBOL(snd_opl3_init);
int snd_opl3_create(struct snd_card *card, int snd_opl3_create(struct snd_card *card,
unsigned long l_port, unsigned long l_port,
unsigned long r_port, unsigned long r_port,
...@@ -451,6 +457,8 @@ int snd_opl3_create(struct snd_card *card, ...@@ -451,6 +457,8 @@ int snd_opl3_create(struct snd_card *card,
return 0; return 0;
} }
EXPORT_SYMBOL(snd_opl3_create);
int snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev) int snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev)
{ {
int err; int err;
...@@ -468,6 +476,8 @@ int snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev) ...@@ -468,6 +476,8 @@ int snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev)
return 0; return 0;
} }
EXPORT_SYMBOL(snd_opl3_timer_new);
int snd_opl3_hwdep_new(struct snd_opl3 * opl3, int snd_opl3_hwdep_new(struct snd_opl3 * opl3,
int device, int seq_device, int device, int seq_device,
struct snd_hwdep ** rhwdep) struct snd_hwdep ** rhwdep)
...@@ -526,17 +536,8 @@ int snd_opl3_hwdep_new(struct snd_opl3 * opl3, ...@@ -526,17 +536,8 @@ int snd_opl3_hwdep_new(struct snd_opl3 * opl3,
return 0; return 0;
} }
EXPORT_SYMBOL(snd_opl3_interrupt);
EXPORT_SYMBOL(snd_opl3_new);
EXPORT_SYMBOL(snd_opl3_init);
EXPORT_SYMBOL(snd_opl3_create);
EXPORT_SYMBOL(snd_opl3_timer_new);
EXPORT_SYMBOL(snd_opl3_hwdep_new); EXPORT_SYMBOL(snd_opl3_hwdep_new);
/* opl3_synth.c */
EXPORT_SYMBOL(snd_opl3_regmap);
EXPORT_SYMBOL(snd_opl3_reset);
/* /*
* INIT part * INIT part
*/ */
......
...@@ -58,6 +58,8 @@ char snd_opl3_regmap[MAX_OPL2_VOICES][4] = ...@@ -58,6 +58,8 @@ char snd_opl3_regmap[MAX_OPL2_VOICES][4] =
{ 0x12, 0x15, 0x00, 0x00 } /* is selected (only left reg block) */ { 0x12, 0x15, 0x00, 0x00 } /* is selected (only left reg block) */
}; };
EXPORT_SYMBOL(snd_opl3_regmap);
/* /*
* prototypes * prototypes
*/ */
...@@ -228,6 +230,7 @@ void snd_opl3_reset(struct snd_opl3 * opl3) ...@@ -228,6 +230,7 @@ void snd_opl3_reset(struct snd_opl3 * opl3)
opl3->rhythm = 0; opl3->rhythm = 0;
} }
EXPORT_SYMBOL(snd_opl3_reset);
static int snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note) static int snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note)
{ {
...@@ -445,3 +448,4 @@ static int snd_opl3_set_connection(struct snd_opl3 * opl3, int connection) ...@@ -445,3 +448,4 @@ static int snd_opl3_set_connection(struct snd_opl3 * opl3, int connection)
return 0; return 0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment