diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-07-29 00:11:22 -0700 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2018-10-09 14:18:21 -0500 |
commit | 339613eba5fecb37d750c2192109f04fefbd5d43 (patch) | |
tree | e4531dd80cc4f3f68c282fb47a44805f56c471f5 /drivers | |
parent | b06d76f9ae2eae389ddaa74abeee7987bdf1b9d4 (diff) | |
download | u-boot-339613eba5fecb37d750c2192109f04fefbd5d43.tar.gz |
net: pch_gbe: Make probe/remove static
These two routines are internal to pch_gbe driver.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/pch_gbe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/pch_gbe.c b/drivers/net/pch_gbe.c index d31c45f3b6..2286dd07e9 100644 --- a/drivers/net/pch_gbe.c +++ b/drivers/net/pch_gbe.c @@ -429,7 +429,7 @@ static int pch_gbe_phy_init(struct udevice *dev) return 0; } -int pch_gbe_probe(struct udevice *dev) +static int pch_gbe_probe(struct udevice *dev) { struct pch_gbe_priv *priv; struct eth_pdata *plat = dev_get_platdata(dev); @@ -464,7 +464,7 @@ int pch_gbe_probe(struct udevice *dev) return pch_gbe_phy_init(dev); } -int pch_gbe_remove(struct udevice *dev) +static int pch_gbe_remove(struct udevice *dev) { struct pch_gbe_priv *priv = dev_get_priv(dev); |