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/dmabuf.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/dmabuf.c')
-rw-r--r-- | sound/oss/dmabuf.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sound/oss/dmabuf.c b/sound/oss/dmabuf.c index 6ff67f73cbb9..b256c0401161 100644 --- a/sound/oss/dmabuf.c +++ b/sound/oss/dmabuf.c | |||
@@ -926,6 +926,7 @@ int DMAbuf_start_dma(int dev, unsigned long physaddr, int count, int dma_mode) | |||
926 | sound_start_dma(dmap, physaddr, count, dma_mode); | 926 | sound_start_dma(dmap, physaddr, count, dma_mode); |
927 | return count; | 927 | return count; |
928 | } | 928 | } |
929 | EXPORT_SYMBOL(DMAbuf_start_dma); | ||
929 | 930 | ||
930 | static int local_start_dma(struct audio_operations *adev, unsigned long physaddr, int count, int dma_mode) | 931 | static int local_start_dma(struct audio_operations *adev, unsigned long physaddr, int count, int dma_mode) |
931 | { | 932 | { |
@@ -1055,6 +1056,8 @@ void DMAbuf_outputintr(int dev, int notify_only) | |||
1055 | do_outputintr(dev, notify_only); | 1056 | do_outputintr(dev, notify_only); |
1056 | spin_unlock_irqrestore(&dmap->lock,flags); | 1057 | spin_unlock_irqrestore(&dmap->lock,flags); |
1057 | } | 1058 | } |
1059 | EXPORT_SYMBOL(DMAbuf_outputintr); | ||
1060 | |||
1058 | /* called with dmap->lock held in irq context */ | 1061 | /* called with dmap->lock held in irq context */ |
1059 | static void do_inputintr(int dev) | 1062 | static void do_inputintr(int dev) |
1060 | { | 1063 | { |
@@ -1154,6 +1157,7 @@ void DMAbuf_inputintr(int dev) | |||
1154 | do_inputintr(dev); | 1157 | do_inputintr(dev); |
1155 | spin_unlock_irqrestore(&dmap->lock,flags); | 1158 | spin_unlock_irqrestore(&dmap->lock,flags); |
1156 | } | 1159 | } |
1160 | EXPORT_SYMBOL(DMAbuf_inputintr); | ||
1157 | 1161 | ||
1158 | void DMAbuf_init(int dev, int dma1, int dma2) | 1162 | void DMAbuf_init(int dev, int dma1, int dma2) |
1159 | { | 1163 | { |
@@ -1162,12 +1166,6 @@ void DMAbuf_init(int dev, int dma1, int dma2) | |||
1162 | * NOTE! This routine could be called several times. | 1166 | * NOTE! This routine could be called several times. |
1163 | */ | 1167 | */ |
1164 | 1168 | ||
1165 | /* drag in audio_syms.o */ | ||
1166 | { | ||
1167 | extern char audio_syms_symbol; | ||
1168 | audio_syms_symbol = 0; | ||
1169 | } | ||
1170 | |||
1171 | if (adev && adev->dmap_out == NULL) { | 1169 | if (adev && adev->dmap_out == NULL) { |
1172 | if (adev->d == NULL) | 1170 | if (adev->d == NULL) |
1173 | panic("OSS: audio_devs[%d]->d == NULL\n", dev); | 1171 | panic("OSS: audio_devs[%d]->d == NULL\n", dev); |