sound: fix cs4232 section mismatch
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)
Signed-off-by Randy Dunlap <[email protected]>
--- 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 cs4232MODULE_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;
---