]> git.sur5r.net Git - u-boot/blobdiff - drivers/net/designware.c
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / drivers / net / designware.c
index 43670a7d0c91ac0f9f62eb163026285da0db5a70..cf125210d88cb66d50252a9fa3023b71a96051c0 100644 (file)
@@ -1,8 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * (C) Copyright 2010
  * Vipin Kumar, ST Micoelectronics, vipin.kumar@st.com.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 /*
@@ -23,8 +22,6 @@
 #include <power/regulator.h>
 #include "designware.h"
 
-DECLARE_GLOBAL_DATA_PTR;
-
 static int dw_mdio_read(struct mii_dev *bus, int addr, int devad, int reg)
 {
 #ifdef CONFIG_DM_ETH