Commit b9daf6c0 authored by Kumar Gala's avatar Kumar Gala Committed by Jeff Garzik

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: default avatarKumar Gala <galak@kernel.crashing.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 55b7b629
...@@ -245,7 +245,7 @@ int __init gfar_mdio_init(void) ...@@ -245,7 +245,7 @@ int __init gfar_mdio_init(void)
return driver_register(&gianfar_mdio_driver); return driver_register(&gianfar_mdio_driver);
} }
void __exit gfar_mdio_exit(void) void gfar_mdio_exit(void)
{ {
driver_unregister(&gianfar_mdio_driver); driver_unregister(&gianfar_mdio_driver);
} }
...@@ -42,5 +42,5 @@ struct gfar_mii { ...@@ -42,5 +42,5 @@ struct gfar_mii {
int gfar_mdio_read(struct mii_bus *bus, int mii_id, int regnum); int gfar_mdio_read(struct mii_bus *bus, int mii_id, int regnum);
int gfar_mdio_write(struct mii_bus *bus, int mii_id, int regnum, u16 value); int gfar_mdio_write(struct mii_bus *bus, int mii_id, int regnum, u16 value);
int __init gfar_mdio_init(void); int __init gfar_mdio_init(void);
void __exit gfar_mdio_exit(void); void gfar_mdio_exit(void);
#endif /* GIANFAR_PHY_H */ #endif /* GIANFAR_PHY_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment