aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/drivers/opl3/opl3_lib.c19
-rw-r--r--sound/drivers/opl3/opl3_synth.c4
2 files changed, 14 insertions, 9 deletions
diff --git a/sound/drivers/opl3/opl3_lib.c b/sound/drivers/opl3/opl3_lib.c
index 4f8556976774..87fe376f38f0 100644
--- a/sound/drivers/opl3/opl3_lib.c
+++ b/sound/drivers/opl3/opl3_lib.c
@@ -316,6 +316,8 @@ void snd_opl3_interrupt(struct snd_hwdep * hw)
316 } 316 }
317} 317}
318 318
319EXPORT_SYMBOL(snd_opl3_interrupt);
320
319/* 321/*
320 322
321 */ 323 */
@@ -369,6 +371,8 @@ int snd_opl3_new(struct snd_card *card,
369 return 0; 371 return 0;
370} 372}
371 373
374EXPORT_SYMBOL(snd_opl3_new);
375
372int snd_opl3_init(struct snd_opl3 *opl3) 376int snd_opl3_init(struct snd_opl3 *opl3)
373{ 377{
374 if (! opl3->command) { 378 if (! opl3->command) {
@@ -393,6 +397,8 @@ int snd_opl3_init(struct snd_opl3 *opl3)
393 return 0; 397 return 0;
394} 398}
395 399
400EXPORT_SYMBOL(snd_opl3_init);
401
396int snd_opl3_create(struct snd_card *card, 402int snd_opl3_create(struct snd_card *card,
397 unsigned long l_port, 403 unsigned long l_port,
398 unsigned long r_port, 404 unsigned long r_port,
@@ -451,6 +457,8 @@ int snd_opl3_create(struct snd_card *card,
451 return 0; 457 return 0;
452} 458}
453 459
460EXPORT_SYMBOL(snd_opl3_create);
461
454int snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev) 462int snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev)
455{ 463{
456 int err; 464 int err;
@@ -468,6 +476,8 @@ int snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev)
468 return 0; 476 return 0;
469} 477}
470 478
479EXPORT_SYMBOL(snd_opl3_timer_new);
480
471int snd_opl3_hwdep_new(struct snd_opl3 * opl3, 481int snd_opl3_hwdep_new(struct snd_opl3 * opl3,
472 int device, int seq_device, 482 int device, int seq_device,
473 struct snd_hwdep ** rhwdep) 483 struct snd_hwdep ** rhwdep)
@@ -526,17 +536,8 @@ int snd_opl3_hwdep_new(struct snd_opl3 * opl3,
526 return 0; 536 return 0;
527} 537}
528 538
529EXPORT_SYMBOL(snd_opl3_interrupt);
530EXPORT_SYMBOL(snd_opl3_new);
531EXPORT_SYMBOL(snd_opl3_init);
532EXPORT_SYMBOL(snd_opl3_create);
533EXPORT_SYMBOL(snd_opl3_timer_new);
534EXPORT_SYMBOL(snd_opl3_hwdep_new); 539EXPORT_SYMBOL(snd_opl3_hwdep_new);
535 540
536/* opl3_synth.c */
537EXPORT_SYMBOL(snd_opl3_regmap);
538EXPORT_SYMBOL(snd_opl3_reset);
539
540/* 541/*
541 * INIT part 542 * INIT part
542 */ 543 */
diff --git a/sound/drivers/opl3/opl3_synth.c b/sound/drivers/opl3/opl3_synth.c
index 6db503f025b3..a4b3543a7118 100644
--- a/sound/drivers/opl3/opl3_synth.c
+++ b/sound/drivers/opl3/opl3_synth.c
@@ -58,6 +58,8 @@ char snd_opl3_regmap[MAX_OPL2_VOICES][4] =
58 { 0x12, 0x15, 0x00, 0x00 } /* is selected (only left reg block) */ 58 { 0x12, 0x15, 0x00, 0x00 } /* is selected (only left reg block) */
59}; 59};
60 60
61EXPORT_SYMBOL(snd_opl3_regmap);
62
61/* 63/*
62 * prototypes 64 * prototypes
63 */ 65 */
@@ -228,6 +230,7 @@ void snd_opl3_reset(struct snd_opl3 * opl3)
228 opl3->rhythm = 0; 230 opl3->rhythm = 0;
229} 231}
230 232
233EXPORT_SYMBOL(snd_opl3_reset);
231 234
232static int snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note) 235static int snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note)
233{ 236{
@@ -445,3 +448,4 @@ static int snd_opl3_set_connection(struct snd_opl3 * opl3, int connection)
445 448
446 return 0; 449 return 0;
447} 450}
451