diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-10-04 05:17:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-10-04 10:55:32 -0400 |
commit | ece7f77b86e53bfe14699fdbcb0f03fdad0a01d6 (patch) | |
tree | 7ec7687dadcd6e45d75c8251257eaadae00f6273 /sound/oss/midi_synth.c | |
parent | d56b9b9c464a10ab1ee51a4c6190a2b57b8ef7a6 (diff) |
[PATCH] kill sound/oss/*_syms.c
Move all EXPORT_SYMBOL's from sound/oss/*_syms.c to the files with the
actual functions.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/oss/midi_synth.c')
-rw-r--r-- | sound/oss/midi_synth.c | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/sound/oss/midi_synth.c b/sound/oss/midi_synth.c index d2ab5c08b616..9e450988ed36 100644 --- a/sound/oss/midi_synth.c +++ b/sound/oss/midi_synth.c | |||
@@ -84,6 +84,7 @@ do_midi_msg(int synthno, unsigned char *msg, int mlen) | |||
84 | ; | 84 | ; |
85 | } | 85 | } |
86 | } | 86 | } |
87 | EXPORT_SYMBOL(do_midi_msg); | ||
87 | 88 | ||
88 | static void | 89 | static void |
89 | midi_outc(int midi_dev, int data) | 90 | midi_outc(int midi_dev, int data) |
@@ -276,6 +277,7 @@ int midi_synth_ioctl(int dev, unsigned int cmd, void __user *arg) | |||
276 | return -EINVAL; | 277 | return -EINVAL; |
277 | } | 278 | } |
278 | } | 279 | } |
280 | EXPORT_SYMBOL(midi_synth_ioctl); | ||
279 | 281 | ||
280 | int | 282 | int |
281 | midi_synth_kill_note(int dev, int channel, int note, int velocity) | 283 | midi_synth_kill_note(int dev, int channel, int note, int velocity) |
@@ -342,6 +344,7 @@ midi_synth_kill_note(int dev, int channel, int note, int velocity) | |||
342 | 344 | ||
343 | return 0; | 345 | return 0; |
344 | } | 346 | } |
347 | EXPORT_SYMBOL(midi_synth_kill_note); | ||
345 | 348 | ||
346 | int | 349 | int |
347 | midi_synth_set_instr(int dev, int channel, int instr_no) | 350 | midi_synth_set_instr(int dev, int channel, int instr_no) |
@@ -364,6 +367,7 @@ midi_synth_set_instr(int dev, int channel, int instr_no) | |||
364 | 367 | ||
365 | return 0; | 368 | return 0; |
366 | } | 369 | } |
370 | EXPORT_SYMBOL(midi_synth_set_instr); | ||
367 | 371 | ||
368 | int | 372 | int |
369 | midi_synth_start_note(int dev, int channel, int note, int velocity) | 373 | midi_synth_start_note(int dev, int channel, int note, int velocity) |
@@ -405,6 +409,7 @@ midi_synth_start_note(int dev, int channel, int note, int velocity) | |||
405 | } | 409 | } |
406 | return 0; | 410 | return 0; |
407 | } | 411 | } |
412 | EXPORT_SYMBOL(midi_synth_start_note); | ||
408 | 413 | ||
409 | void | 414 | void |
410 | midi_synth_reset(int dev) | 415 | midi_synth_reset(int dev) |
@@ -412,6 +417,7 @@ midi_synth_reset(int dev) | |||
412 | 417 | ||
413 | leave_sysex(dev); | 418 | leave_sysex(dev); |
414 | } | 419 | } |
420 | EXPORT_SYMBOL(midi_synth_reset); | ||
415 | 421 | ||
416 | int | 422 | int |
417 | midi_synth_open(int dev, int mode) | 423 | midi_synth_open(int dev, int mode) |
@@ -444,6 +450,7 @@ midi_synth_open(int dev, int mode) | |||
444 | 450 | ||
445 | return 1; | 451 | return 1; |
446 | } | 452 | } |
453 | EXPORT_SYMBOL(midi_synth_open); | ||
447 | 454 | ||
448 | void | 455 | void |
449 | midi_synth_close(int dev) | 456 | midi_synth_close(int dev) |
@@ -459,11 +466,13 @@ midi_synth_close(int dev) | |||
459 | 466 | ||
460 | midi_devs[orig_dev]->close(orig_dev); | 467 | midi_devs[orig_dev]->close(orig_dev); |
461 | } | 468 | } |
469 | EXPORT_SYMBOL(midi_synth_close); | ||
462 | 470 | ||
463 | void | 471 | void |
464 | midi_synth_hw_control(int dev, unsigned char *event) | 472 | midi_synth_hw_control(int dev, unsigned char *event) |
465 | { | 473 | { |
466 | } | 474 | } |
475 | EXPORT_SYMBOL(midi_synth_hw_control); | ||
467 | 476 | ||
468 | int | 477 | int |
469 | midi_synth_load_patch(int dev, int format, const char __user *addr, | 478 | midi_synth_load_patch(int dev, int format, const char __user *addr, |
@@ -542,11 +551,13 @@ midi_synth_load_patch(int dev, int format, const char __user *addr, | |||
542 | midi_outc(orig_dev, 0xf7); | 551 | midi_outc(orig_dev, 0xf7); |
543 | return 0; | 552 | return 0; |
544 | } | 553 | } |
545 | 554 | EXPORT_SYMBOL(midi_synth_load_patch); | |
555 | |||
546 | void midi_synth_panning(int dev, int channel, int pressure) | 556 | void midi_synth_panning(int dev, int channel, int pressure) |
547 | { | 557 | { |
548 | } | 558 | } |
549 | 559 | EXPORT_SYMBOL(midi_synth_panning); | |
560 | |||
550 | void midi_synth_aftertouch(int dev, int channel, int pressure) | 561 | void midi_synth_aftertouch(int dev, int channel, int pressure) |
551 | { | 562 | { |
552 | int orig_dev = synth_devs[dev]->midi_dev; | 563 | int orig_dev = synth_devs[dev]->midi_dev; |
@@ -576,6 +587,7 @@ void midi_synth_aftertouch(int dev, int channel, int pressure) | |||
576 | 587 | ||
577 | midi_outc(orig_dev, pressure); | 588 | midi_outc(orig_dev, pressure); |
578 | } | 589 | } |
590 | EXPORT_SYMBOL(midi_synth_aftertouch); | ||
579 | 591 | ||
580 | void | 592 | void |
581 | midi_synth_controller(int dev, int channel, int ctrl_num, int value) | 593 | midi_synth_controller(int dev, int channel, int ctrl_num, int value) |
@@ -604,6 +616,7 @@ midi_synth_controller(int dev, int channel, int ctrl_num, int value) | |||
604 | midi_outc(orig_dev, ctrl_num); | 616 | midi_outc(orig_dev, ctrl_num); |
605 | midi_outc(orig_dev, value & 0x7f); | 617 | midi_outc(orig_dev, value & 0x7f); |
606 | } | 618 | } |
619 | EXPORT_SYMBOL(midi_synth_controller); | ||
607 | 620 | ||
608 | void | 621 | void |
609 | midi_synth_bender(int dev, int channel, int value) | 622 | midi_synth_bender(int dev, int channel, int value) |
@@ -635,11 +648,13 @@ midi_synth_bender(int dev, int channel, int value) | |||
635 | midi_outc(orig_dev, value & 0x7f); | 648 | midi_outc(orig_dev, value & 0x7f); |
636 | midi_outc(orig_dev, (value >> 7) & 0x7f); | 649 | midi_outc(orig_dev, (value >> 7) & 0x7f); |
637 | } | 650 | } |
651 | EXPORT_SYMBOL(midi_synth_bender); | ||
638 | 652 | ||
639 | void | 653 | void |
640 | midi_synth_setup_voice(int dev, int voice, int channel) | 654 | midi_synth_setup_voice(int dev, int voice, int channel) |
641 | { | 655 | { |
642 | } | 656 | } |
657 | EXPORT_SYMBOL(midi_synth_setup_voice); | ||
643 | 658 | ||
644 | int | 659 | int |
645 | midi_synth_send_sysex(int dev, unsigned char *bytes, int len) | 660 | midi_synth_send_sysex(int dev, unsigned char *bytes, int len) |
@@ -695,3 +710,5 @@ midi_synth_send_sysex(int dev, unsigned char *bytes, int len) | |||
695 | 710 | ||
696 | return 0; | 711 | return 0; |
697 | } | 712 | } |
713 | EXPORT_SYMBOL(midi_synth_send_sysex); | ||
714 | |||