Merge tag 'u-boot-atmel-2019.07-b' of git://git.denx.de/u-boot-atmel
[oweals/u-boot.git] / drivers / net / pch_gbe.c
index 8866f6632fd22151e30dd2682f051921c6e85854..2286dd07e932530e82ae6f09389d7d78f657ea0f 100644 (file)
@@ -1,9 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
  *
  * Intel Platform Controller Hub EG20T (codename Topcliff) GMAC Driver
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
@@ -430,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);
@@ -465,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);