]> err.no Git - linux-2.6/commitdiff
[PATCH] msnd section fix
authorAndrew Morton <akpm@osdl.org>
Sun, 25 Jun 2006 12:47:32 +0000 (05:47 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 25 Jun 2006 17:01:04 +0000 (10:01 -0700)
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>
sound/oss/msnd.c

index 5dbfc0f9c3c7bf32abb87475283ea4c4f21c65b9..ba38d6200099f883f3f188d6e9255bf07afa80b6 100644 (file)
@@ -47,7 +47,7 @@
 static multisound_dev_t                *devs[MSND_MAX_DEVS];
 static int                     num_devs;
 
-int __init msnd_register(multisound_dev_t *dev)
+int msnd_register(multisound_dev_t *dev)
 {
        int i;