From: Joe Hershberger Date: Tue, 25 Jun 2013 00:06:38 +0000 (-0500) Subject: net: Fix build regression in macb.c X-Git-Tag: v2013.07-rc2~57^2~16 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1b8c18b9716c6991237b24cff3d38075d930c0d7;p=u-boot net: Fix build regression in macb.c The added weak symbol must not be static. This was introduced in 416ce623fbad51af57660346ebb6f7befb88b3c9 Signed-off-by: Joe Hershberger --- diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 6b49f0e3e1..81a734d874 100644 --- a/drivers/net/macb.c +++ b/drivers/net/macb.c @@ -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; }