]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/qe/uec_phy.c
gpio: am43xx: expand gpio support
[karo-tx-uboot.git] / drivers / qe / uec_phy.c
index e26218be88afc64e41d35c0fd99b0927bf33824f..e701787c41a3978d1d9d6b47cf2c950c2dcf6069 100644 (file)
@@ -7,18 +7,14 @@
  *             Driver for UEC on QE
  *             Based on 8260_io/fcc_enet.c
  *
- * This program is free software; you can redistribute it and/or modify it
- * under  the terms of the GNU General  Public License as published by the
- * Free Software Foundation;  either version 2 of the  License, or (at your
- * option) any later version.
- *
+ * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include "common.h"
 #include "net.h"
 #include "malloc.h"
 #include "asm/errno.h"
-#include "asm/immap_qe.h"
+#include "linux/immap_qe.h"
 #include "asm/io.h"
 #include "qe.h"
 #include "uccf.h"
@@ -85,7 +81,7 @@
 #endif
 
 struct fixed_phy_port {
-       char name[NAMESIZE];    /* ethernet port name */
+       char name[16];  /* ethernet port name */
        unsigned int speed;     /* specified speed 10,100 or 1000 */
        unsigned int duplex;    /* specified duplex FULL or HALF */
 };