aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/sequencer.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2006-10-04 05:17:31 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-04 10:55:32 -0400
commitece7f77b86e53bfe14699fdbcb0f03fdad0a01d6 (patch)
tree7ec7687dadcd6e45d75c8251257eaadae00f6273 /sound/oss/sequencer.c
parentd56b9b9c464a10ab1ee51a4c6190a2b57b8ef7a6 (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/sequencer.c')
-rw-r--r--sound/oss/sequencer.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/sound/oss/sequencer.c b/sound/oss/sequencer.c
index 23922377250d..5c215f787ca9 100644
--- a/sound/oss/sequencer.c
+++ b/sound/oss/sequencer.c
@@ -156,6 +156,7 @@ void seq_copy_to_input(unsigned char *event_rec, int len)
156 wake_up(&midi_sleeper); 156 wake_up(&midi_sleeper);
157 spin_unlock_irqrestore(&lock,flags); 157 spin_unlock_irqrestore(&lock,flags);
158} 158}
159EXPORT_SYMBOL(seq_copy_to_input);
159 160
160static void sequencer_midi_input(int dev, unsigned char data) 161static void sequencer_midi_input(int dev, unsigned char data)
161{ 162{
@@ -205,6 +206,7 @@ void seq_input_event(unsigned char *event_rec, int len)
205 } 206 }
206 seq_copy_to_input(event_rec, len); 207 seq_copy_to_input(event_rec, len);
207} 208}
209EXPORT_SYMBOL(seq_input_event);
208 210
209int sequencer_write(int dev, struct file *file, const char __user *buf, int count) 211int sequencer_write(int dev, struct file *file, const char __user *buf, int count)
210{ 212{
@@ -1553,6 +1555,7 @@ void sequencer_timer(unsigned long dummy)
1553{ 1555{
1554 seq_startplay(); 1556 seq_startplay();
1555} 1557}
1558EXPORT_SYMBOL(sequencer_timer);
1556 1559
1557int note_to_freq(int note_num) 1560int note_to_freq(int note_num)
1558{ 1561{
@@ -1586,6 +1589,7 @@ int note_to_freq(int note_num)
1586 1589
1587 return note_freq; 1590 return note_freq;
1588} 1591}
1592EXPORT_SYMBOL(note_to_freq);
1589 1593
1590unsigned long compute_finetune(unsigned long base_freq, int bend, int range, 1594unsigned long compute_finetune(unsigned long base_freq, int bend, int range,
1591 int vibrato_cents) 1595 int vibrato_cents)
@@ -1639,19 +1643,12 @@ unsigned long compute_finetune(unsigned long base_freq, int bend, int range,
1639 else 1643 else
1640 return (base_freq * amount) / 10000; /* Bend up */ 1644 return (base_freq * amount) / 10000; /* Bend up */
1641} 1645}
1642 1646EXPORT_SYMBOL(compute_finetune);
1643 1647
1644void sequencer_init(void) 1648void sequencer_init(void)
1645{ 1649{
1646 /* drag in sequencer_syms.o */
1647 {
1648 extern char sequencer_syms_symbol;
1649 sequencer_syms_symbol = 0;
1650 }
1651
1652 if (sequencer_ok) 1650 if (sequencer_ok)
1653 return; 1651 return;
1654 MIDIbuf_init();
1655 queue = (unsigned char *)vmalloc(SEQ_MAX_QUEUE * EV_SZ); 1652 queue = (unsigned char *)vmalloc(SEQ_MAX_QUEUE * EV_SZ);
1656 if (queue == NULL) 1653 if (queue == NULL)
1657 { 1654 {
@@ -1667,6 +1664,7 @@ void sequencer_init(void)
1667 } 1664 }
1668 sequencer_ok = 1; 1665 sequencer_ok = 1;
1669} 1666}
1667EXPORT_SYMBOL(sequencer_init);
1670 1668
1671void sequencer_unload(void) 1669void sequencer_unload(void)
1672{ 1670{