[PATCH] de620: fix section mismatch warning
authorSam Ravnborg <sam@ravnborg.org>
Wed, 8 Mar 2006 08:06:33 +0000 (00:06 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 11 Mar 2006 18:29:09 +0000 (13:29 -0500)
commitb2cba5b5777123c53852639c6a17e87709e055be
tree190eea463908d478772e424cd27f92cfc29d19b7
parent28beaf651b8620b04bc6dec03e22ed5af8114936
[PATCH] de620: fix section mismatch warning

In latest -mm de620 gave following warning:
WARNING: drivers/net/de620.o - Section mismatch: reference to      \
.init.text:de620_probe from .text between 'init_module' (at offset \
0x1682) and 'cleanup_module'

init_module() call de620_probe() which is declared __init.
Fix is to declare init_module() __init too.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/de620.c