[PATCH] ip2: fix sections

From: Randy.Dunlap
Date: Mon May 01 2006 - 19:09:21 EST


From: Randy Dunlap <rdunlap@xxxxxxxxxxxx>

Fix sections mismatch:
WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to .init.text: from .text.cleanup_module after 'cleanup_module' (at offset 0xb0)
WARNING: drivers/char/ip2/ip2main.o - Section mismatch: reference to .init.text: from .text.ip2_loadmain after 'ip2_loadmain' (at offset 0x11b3)

Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxx>
---
drivers/char/ip2/ip2main.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)

--- linux-2617-rc3.orig/drivers/char/ip2/ip2main.c
+++ linux-2617-rc3/drivers/char/ip2/ip2main.c
@@ -337,7 +337,7 @@ clear_requested_irq( char irq )
}
#endif

-static int __init
+static int
have_requested_irq( char irq )
{
// array init to zeros so 0 irq will not be requested as a side effect


---
-
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/