Skip to content

Commit a2926b1

Browse files
Andrew MortonLinus Torvalds
authored andcommitted
[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>
1 parent 138bb68 commit a2926b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎sound/oss/msnd.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
static multisound_dev_t *devs[MSND_MAX_DEVS];
4848
static int num_devs;
4949

50-
int __init msnd_register(multisound_dev_t *dev)
50+
int msnd_register(multisound_dev_t *dev)
5151
{
5252
int i;
5353

0 commit comments

Comments
 (0)