diff options
Diffstat (limited to 'sound')
-rw-r--r-- | sound/drivers/opl3/opl3_lib.c | 19 | ||||
-rw-r--r-- | sound/drivers/opl3/opl3_synth.c | 4 |
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 | ||
319 | EXPORT_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 | ||
374 | EXPORT_SYMBOL(snd_opl3_new); | ||
375 | |||
372 | int snd_opl3_init(struct snd_opl3 *opl3) | 376 | int 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 | ||
400 | EXPORT_SYMBOL(snd_opl3_init); | ||
401 | |||
396 | int snd_opl3_create(struct snd_card *card, | 402 | int 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 | ||
460 | EXPORT_SYMBOL(snd_opl3_create); | ||
461 | |||
454 | int snd_opl3_timer_new(struct snd_opl3 * opl3, int timer1_dev, int timer2_dev) | 462 | int 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 | ||
479 | EXPORT_SYMBOL(snd_opl3_timer_new); | ||
480 | |||
471 | int snd_opl3_hwdep_new(struct snd_opl3 * opl3, | 481 | int 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 | ||
529 | EXPORT_SYMBOL(snd_opl3_interrupt); | ||
530 | EXPORT_SYMBOL(snd_opl3_new); | ||
531 | EXPORT_SYMBOL(snd_opl3_init); | ||
532 | EXPORT_SYMBOL(snd_opl3_create); | ||
533 | EXPORT_SYMBOL(snd_opl3_timer_new); | ||
534 | EXPORT_SYMBOL(snd_opl3_hwdep_new); | 539 | EXPORT_SYMBOL(snd_opl3_hwdep_new); |
535 | 540 | ||
536 | /* opl3_synth.c */ | ||
537 | EXPORT_SYMBOL(snd_opl3_regmap); | ||
538 | EXPORT_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 | ||
61 | EXPORT_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 | ||
233 | EXPORT_SYMBOL(snd_opl3_reset); | ||
231 | 234 | ||
232 | static int snd_opl3_play_note(struct snd_opl3 * opl3, struct snd_dm_fm_note * note) | 235 | static 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 | |||