[PATCH] sound: fix cs4232 section mismatch
From: Randy.Dunlap
Date: Tue Jun 27 2006 - 20:50:52 EST
From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
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@xxxxxxxxxxxx>
---
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;
---
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/