diff options
author | huangdaode <huangdaode@hisilicon.com> | 2015-10-10 17:20:38 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-10-12 19:46:46 -0700 |
commit | 99dcc7dfb1960d5e2f1577ff3aad69dfeb6e9787 (patch) | |
tree | 2a11d92a187a4cad880f9a9507d125feda560963 /drivers/net/ethernet/hisilicon | |
parent | 5fcd2d8be43664f1b6a5add3d21a367411add9d4 (diff) |
net: hns: fix the unknown phy_nterface_t type error
This patch fix the building error reported by Jiri Pirko <jiri@resnulli.us>
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 <huangdaode@hisilicon.com>
Signed-off-by: yankejian <yankejian@huawei.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/hisilicon')
-rw-r--r-- | drivers/net/ethernet/hisilicon/hns/hnae.h | 1 |
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" |