Skip to contentSkip to conversation

sound: fix cs4232 section mismatch

PATCH New Randy.Dunlap 1 participant 1 message Jun 28, 2006 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sound: fix cs4232 section mismatch

From: Randy Dunlap <[email protected]>

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)

---
 sound/oss/cs4232.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)
sound/oss/cs4232.c +1 -1
@@ -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;
 

---