summaryrefslogtreecommitdiff
path: root/drivers/net/macb.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2013-06-24 19:06:38 -0500
committerJoe Hershberger <joe.hershberger@ni.com>2013-06-24 19:10:42 -0500
commit1b8c18b9716c6991237b24cff3d38075d930c0d7 (patch)
treea2813de691651019b9253290685aad51a41f95e0 /drivers/net/macb.c
parent416ce623fbad51af57660346ebb6f7befb88b3c9 (diff)
downloadu-boot-imx-1b8c18b9716c6991237b24cff3d38075d930c0d7.zip
u-boot-imx-1b8c18b9716c6991237b24cff3d38075d930c0d7.tar.gz
u-boot-imx-1b8c18b9716c6991237b24cff3d38075d930c0d7.tar.bz2
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 <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/macb.c')
-rw-r--r--drivers/net/macb.c2
1 files changed, 1 insertions, 1 deletions
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;
}