* [PATCH] sound: fix cs4232 section mismatch
@ 2006-06-28 0:50 Randy.Dunlap
0 siblings, 0 replies; only message in thread
From: Randy.Dunlap @ 2006-06-28 0:50 UTC (permalink / raw)
To: lkml; +Cc: perex, akpm
From: Randy Dunlap <rdunlap@xenotime.net>
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>
---
sound/oss/cs4232.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- linux-2617-g11.orig/sound/oss/cs4232.c
+++ linux-2617-g11/sound/oss/cs4232.c
@@ -405,7 +405,7 @@ static const struct pnp_device_id cs4232
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;
---
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-06-28 0:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-28 0:50 [PATCH] sound: fix cs4232 section mismatch Randy.Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®