tree 33d78bd454e1c6d7d459f009ca9c6ff0ce345536
parent 9d8cc1b6c3cba2be61c0884e3a04dd6baea70654
author Peter Chubb <[EMAIL PROTECTED]> Sun, 04 Sep 2005 04:05:06 -0700
committer Jeff Garzik <[EMAIL PROTECTED]> Tue, 06 Sep 2005 02:04:19 -0400

[PATCH] 'mdio_bus_exit' in discarded section .text.exit

When building with  CONFIG_PHYLIB=y on Itanium, I see:
 `mdio_bus_exit' referenced in section `.init.text' of
drivers/built-in.o: defined in discarded section `.exit.text' of

I believe that mdio_bus_exit should not be declared __exit, because it is
referencesd from __init sections in, say, phy_init().

Signed-off-by: Peter Chubb <[EMAIL PROTECTED]>
Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>

 drivers/net/phy/mdio_bus.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/phy/mdio_bus.c b/drivers/net/phy/mdio_bus.c
--- a/drivers/net/phy/mdio_bus.c
+++ b/drivers/net/phy/mdio_bus.c
@@ -170,7 +170,7 @@ int __init mdio_bus_init(void)
        return bus_register(&mdio_bus_type);
-void __exit mdio_bus_exit(void)
+void mdio_bus_exit(void)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to