mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-26 12:27:12 +00:00
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>
This commit is contained in:
parent
b06d76f9ae
commit
339613eba5
1 changed files with 2 additions and 2 deletions
|
@ -429,7 +429,7 @@ static int pch_gbe_phy_init(struct udevice *dev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int pch_gbe_probe(struct udevice *dev)
|
static int pch_gbe_probe(struct udevice *dev)
|
||||||
{
|
{
|
||||||
struct pch_gbe_priv *priv;
|
struct pch_gbe_priv *priv;
|
||||||
struct eth_pdata *plat = dev_get_platdata(dev);
|
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);
|
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);
|
struct pch_gbe_priv *priv = dev_get_priv(dev);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue