diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 12:57:31 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-02 18:23:13 -0500 |
commit | 68a6aa85ecbab5696fdcf970fdd7b7fe5a967146 (patch) | |
tree | a56d6a4e503c6b91cb5af1218546c15d6c1e52f5 /drivers/net/ldpaa_eth | |
parent | 1045315df0f1bed617f0ee01379a10f543cec501 (diff) |
common: Move mii_init() function out of common.h
This function belongs in mii.h so move it over.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'drivers/net/ldpaa_eth')
-rw-r--r-- | drivers/net/ldpaa_eth/ls1088a.c | 1 | ||||
-rw-r--r-- | drivers/net/ldpaa_eth/lx2160a.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ldpaa_eth/ls1088a.c b/drivers/net/ldpaa_eth/ls1088a.c index c3260d318c..54cb16e51b 100644 --- a/drivers/net/ldpaa_eth/ls1088a.c +++ b/drivers/net/ldpaa_eth/ls1088a.c @@ -8,6 +8,7 @@ #include <asm/io.h> #include <asm/arch/fsl_serdes.h> #include <asm/arch/soc.h> +#include <linux/mii.h> u32 dpmac_to_devdisr[] = { [WRIOP1_DPMAC1] = FSL_CHASSIS3_DEVDISR2_DPMAC1, diff --git a/drivers/net/ldpaa_eth/lx2160a.c b/drivers/net/ldpaa_eth/lx2160a.c index 1fbeb0d14b..9432b6eb85 100644 --- a/drivers/net/ldpaa_eth/lx2160a.c +++ b/drivers/net/ldpaa_eth/lx2160a.c @@ -8,6 +8,7 @@ #include <asm/io.h> #include <asm/arch/fsl_serdes.h> #include <asm/arch/soc.h> +#include <linux/mii.h> u32 dpmac_to_devdisr[] = { [WRIOP1_DPMAC1] = FSL_CHASSIS3_DEVDISR2_DPMAC1, |