ip2: fix sections
PATCH 1/1 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(-)
drivers/char/ip2/ip2main.c +1 -1
@@ -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
---