From 1b8c18b9716c6991237b24cff3d38075d930c0d7 Mon Sep 17 00:00:00 2001 From: Joe Hershberger Date: Mon, 24 Jun 2013 19:06:38 -0500 Subject: [PATCH] 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 --- drivers/net/macb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/macb.c b/drivers/net/macb.c index 6b49f0e..81a734d 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; }