summaryrefslogtreecommitdiff
path: root/drivers/net/fsl_mdio.c
diff options
context:
space:
mode:
authorClaudiu Manoil <claudiu.manoil@freescale.com>2014-09-05 05:52:36 (GMT)
committerYork Sun <yorksun@freescale.com>2014-09-08 17:30:33 (GMT)
commit93f26f130eede8db0cb47afcaf66016987b91731 (patch)
tree1a9acbbcb9b5bae1ae6c96a210ef087f5ecbda93 /drivers/net/fsl_mdio.c
parentdf0a5b880d6e53b62ea05b483243dd8675cf4648 (diff)
downloadu-boot-93f26f130eede8db0cb47afcaf66016987b91731.tar.xz
net: Merge asm/fsl_enet.h into fsl_mdio.h
fsl_enet.h defines the mapping of the usual MII management registers, which are included in the MDIO register block common to Freescale ethernet controllers. So it shouldn't depend on the CPU architecture but it should be actually part of the arch independent fsl_mdio.h. To remove the arch dependency, merge the content of asm/fsl_enet.h into fsl_mdio.h. Some files (like fm_eth.h) were simply including fsl_enet.h only for phy.h. These were updated to include phy.h instead. Signed-off-by: Claudiu Manoil <claudiu.manoil@freescale.com>
Diffstat (limited to 'drivers/net/fsl_mdio.c')
-rw-r--r--drivers/net/fsl_mdio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/fsl_mdio.c b/drivers/net/fsl_mdio.c
index 1d88e65..8d09f5d 100644
--- a/drivers/net/fsl_mdio.c
+++ b/drivers/net/fsl_mdio.c
@@ -11,7 +11,6 @@
#include <fsl_mdio.h>
#include <asm/io.h>
#include <asm/errno.h>
-#include <asm/fsl_enet.h>
void tsec_local_mdio_write(struct tsec_mii_mng __iomem *phyregs, int port_addr,
int dev_addr, int regnum, int value)