Skip to content

Commit

Permalink
[PATCH] msnd section fix
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Andrew Morton authored and Linus Torvalds committed Jun 25, 2006
1 parent 138bb68 commit a2926b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/oss/msnd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit a2926b1

Please sign in to comment.