aboutsummaryrefslogtreecommitdiffstats
path: root/sound/oss/msnd.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-06-25 08:47:32 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-25 13:01:04 -0400
commita2926b1449bcc3d348e2228114b04869dc2f3986 (patch)
tree175f542cced7975960cc313b375d64b27d622560 /sound/oss/msnd.c
parent138bb68ac9d49b0ea7eeecb3a245dc4e20f181da (diff)
[PATCH] msnd section fix
WARNING: sound/oss/msnd.o - Section mismatch: reference to .init.text:msnd_register from __ksymtab between '__ksymtab_msnd_register' (at offset 0x0) and '__ksymtab_msnd_unregister' This symbol is exported. It'll oops if the driver is nonmodular and the caller is modular. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound/oss/msnd.c')
-rw-r--r--sound/oss/msnd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/msnd.c b/sound/oss/msnd.c
index 5dbfc0f9c3c..ba38d620009 100644
--- a/sound/oss/msnd.c
+++ b/sound/oss/msnd.c
@@ -47,7 +47,7 @@
47static multisound_dev_t *devs[MSND_MAX_DEVS]; 47static multisound_dev_t *devs[MSND_MAX_DEVS];
48static int num_devs; 48static int num_devs;
49 49
50int __init msnd_register(multisound_dev_t *dev) 50int msnd_register(multisound_dev_t *dev)
51{ 51{
52 int i; 52 int i;
53 53