]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
net: pch_gbe: Make probe/remove static
authorBin Meng <bmeng.cn@gmail.com>
Sun, 29 Jul 2018 07:11:22 +0000 (00:11 -0700)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 9 Oct 2018 19:18:21 +0000 (14:18 -0500)
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>
drivers/net/pch_gbe.c

index d31c45f3b67f8aec1263ac0d627a5d8ebaf62395..2286dd07e932530e82ae6f09389d7d78f657ea0f 100644 (file)
@@ -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);