Commit a2926b14 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 138bb68a
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
static multisound_dev_t *devs[MSND_MAX_DEVS]; static multisound_dev_t *devs[MSND_MAX_DEVS];
static int num_devs; static int num_devs;
int __init msnd_register(multisound_dev_t *dev) int msnd_register(multisound_dev_t *dev)
{ {
int i; int i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment