Skip to contentSkip to conversation

net: pch_gbe: Make probe/remove static

PATCH In review Bin Meng 2 participants 3 messages Jul 29, 2018 – Oct 11, 2018 Network drivers

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 net: pch_gbe: Make probe/remove static

These two routines are internal to pch_gbe driver.

---

 drivers/net/pch_gbe.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/pch_gbe.c +2 -2
index d31c45f..2286dd0 100644
@@ -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);
 
Signature · 1 line
2.7.4