net: Fix build regression in macb.c
authorJoe Hershberger <joe.hershberger@ni.com>
Tue, 25 Jun 2013 00:06:38 +0000 (19:06 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 25 Jun 2013 00:10:42 +0000 (19:10 -0500)
The added weak symbol must not be static.

This was introduced in 416ce623fbad51af57660346ebb6f7befb88b3c9

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/macb.c

index 6b49f0e3e129a1f8f9b88e6705ddc11a3b2bc84e..81a734d87498a25a5c34834c1600490b34dd658a 100644 (file)
@@ -163,7 +163,7 @@ static u16 macb_mdio_read(struct macb_device *macb, u8 reg)
        return MACB_BFEXT(DATA, frame);
 }
 
-static void __weak arch_get_mdio_control(const char *name)
+void __weak arch_get_mdio_control(const char *name)
 {
        return;
 }