net: fec_mxc: make local functions static

Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
This commit is contained in:
Jeroen Hofstee 2014-10-08 22:57:40 +02:00 committed by Tom Rini
parent 750a6ff468
commit 84f64c8bbe
1 changed files with 5 additions and 3 deletions

View File

@ -11,6 +11,7 @@
#include <common.h> #include <common.h>
#include <malloc.h> #include <malloc.h>
#include <net.h> #include <net.h>
#include <netdev.h>
#include <miiphy.h> #include <miiphy.h>
#include "fec_mxc.h" #include "fec_mxc.h"
@ -179,13 +180,14 @@ static int fec_mdio_write(struct ethernet_regs *eth, uint8_t phyAddr,
return 0; return 0;
} }
int fec_phy_read(struct mii_dev *bus, int phyAddr, int dev_addr, int regAddr) static int fec_phy_read(struct mii_dev *bus, int phyAddr, int dev_addr,
int regAddr)
{ {
return fec_mdio_read(bus->priv, phyAddr, regAddr); return fec_mdio_read(bus->priv, phyAddr, regAddr);
} }
int fec_phy_write(struct mii_dev *bus, int phyAddr, int dev_addr, int regAddr, static int fec_phy_write(struct mii_dev *bus, int phyAddr, int dev_addr,
u16 data) int regAddr, u16 data)
{ {
return fec_mdio_write(bus->priv, phyAddr, regAddr, data); return fec_mdio_write(bus->priv, phyAddr, regAddr, data);
} }