aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhuangdaode <[email protected]>2015-10-10 17:20:38 +0800
committerDavid S. Miller <[email protected]>2015-10-12 19:46:46 -0700
commit99dcc7dfb1960d5e2f1577ff3aad69dfeb6e9787 (patch)
tree2a11d92a187a4cad880f9a9507d125feda560963
parent5fcd2d8be43664f1b6a5add3d21a367411add9d4 (diff)
net: hns: fix the unknown phy_nterface_t type error
This patch fix the building error reported by Jiri Pirko <[email protected]> drivers/net/ethernet/hisilicon/hns/hnae.h:465:2: error: unknown type name 'phy_interface_t' phy_interface_t phy_if; ^ the full build log is on https://lists.01.org/pipermail/kbuild-all. Signed-off-by: huangdaode <[email protected]> Signed-off-by: yankejian <[email protected]> Reviewed-by: Jiri Pirko <[email protected]> Signed-off-by: David S. Miller <[email protected]>
-rw-r--r--drivers/net/ethernet/hisilicon/hns/hnae.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/hisilicon/hns/hnae.h b/drivers/net/ethernet/hisilicon/hns/hnae.h
index 5edd8cdc2485..d4a1eb1b8e54 100644
--- a/drivers/net/ethernet/hisilicon/hns/hnae.h
+++ b/drivers/net/ethernet/hisilicon/hns/hnae.h
@@ -32,6 +32,7 @@
#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/notifier.h>
+#include <linux/phy.h>
#include <linux/types.h>
#define HNAE_DRIVER_VERSION "1.3.0"