summaryrefslogtreecommitdiffstats
path: root/drivers/net/gianfar_mii.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-07-26 07:52:34 +0200
committerJeff Garzik <jeff@garzik.org>2007-07-30 21:48:16 +0200
commitb9daf6c0ff7a0bc9560ed40d560d028ec5d98771 (patch)
tree1c7c2e2f082e8b08098f67bb0f0ce5d210d62ef6 /drivers/net/gianfar_mii.c
parentlib8390: comment on locking by Alan Cox (diff)
downloadlinux-b9daf6c0ff7a0bc9560ed40d560d028ec5d98771.tar.xz
linux-b9daf6c0ff7a0bc9560ed40d560d028ec5d98771.zip
gfar: Fix modpost warning
Fix the following modpost warning: WARNING: vmlinux.o(.init.text+0x1aa6c): Section mismatch: reference to .exit.text:gfar_mdio_exit (between 'gfar_init' and 'gfar_mdio_init') Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/gianfar_mii.c')
-rw-r--r--drivers/net/gianfar_mii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/gianfar_mii.c b/drivers/net/gianfar_mii.c
index ac3596f45dd8..100bf410bf5f 100644
--- a/drivers/net/gianfar_mii.c
+++ b/drivers/net/gianfar_mii.c
@@ -245,7 +245,7 @@ int __init gfar_mdio_init(void)
return driver_register(&gianfar_mdio_driver);
}
-void __exit gfar_mdio_exit(void)
+void gfar_mdio_exit(void)
{
driver_unregister(&gianfar_mdio_driver);
}