diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-02-07 15:02:59 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-10 13:51:02 -0500 |
commit | f225e4e69770a79663c62c8d6629fdf3fcbc360a (patch) | |
tree | 370d35533abb1f0792ac9fbb810dc6df3f0122f8 /drivers | |
parent | 13bf77604e163b957948dea464752cf3cd4bbc52 (diff) |
net: fman: fix build errors when linux/phy*.h is removed from net/dsa.h
drivers/net/ethernet/freescale/fman/fman_memac.c:519:21: error: dereferencing pointer to incomplete type 'struct fixed_phy_status'
Add linux/phy_fixed.h to fman_memac.c
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/freescale/fman/fman_memac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/fman/fman_memac.c b/drivers/net/ethernet/freescale/fman/fman_memac.c index 71a5ded9d1de..cd6a53eaf161 100644 --- a/drivers/net/ethernet/freescale/fman/fman_memac.c +++ b/drivers/net/ethernet/freescale/fman/fman_memac.c @@ -38,6 +38,7 @@ #include <linux/slab.h> #include <linux/io.h> #include <linux/phy.h> +#include <linux/phy_fixed.h> #include <linux/of_mdio.h> /* PCS registers */ |