aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2006-06-28 04:26:56 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-28 14:59:06 -0700
commite85f8dcc2750685e50139df4da8bdb68475393fc (patch)
tree2da11db3037d8d05ea119f09af559cafa5486ef4 /sound
parentcab267c65f44337974e4f1eae490b21dce0e9811 (diff)
downloadkernel_samsung_smdk4412-e85f8dcc2750685e50139df4da8bdb68475393fc.zip
kernel_samsung_smdk4412-e85f8dcc2750685e50139df4da8bdb68475393fc.tar.gz
kernel_samsung_smdk4412-e85f8dcc2750685e50139df4da8bdb68475393fc.tar.bz2
[PATCH] sound: fix cs4232 section mismatch
Fix section mismatch: adds __init to probe function, frees some init memory, not critical. WARNING: sound/oss/cs4232.o - Section mismatch: reference to .init.text: from .text after 'cs4232_pnp_probe' (at offset 0x152) Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/oss/cs4232.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/oss/cs4232.c b/sound/oss/cs4232.c
index c7f86f0..80f6c08 100644
--- a/sound/oss/cs4232.c
+++ b/sound/oss/cs4232.c
@@ -405,7 +405,7 @@ static const struct pnp_device_id cs4232_pnp_table[] = {
MODULE_DEVICE_TABLE(pnp, cs4232_pnp_table);
-static int cs4232_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id)
+static int __init cs4232_pnp_probe(struct pnp_dev *dev, const struct pnp_device_id *dev_id)
{
struct address_info *isapnpcfg;