2006-05-01 23:09:24

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] ip2: fix sections

From: Randy Dunlap <[email protected]>

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 <[email protected]>
---
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


---