Commit 99dcc7df authored by huangdaode's avatar huangdaode Committed by David S. Miller

net: hns: fix the unknown phy_nterface_t type error

This patch fix the building error reported by Jiri Pirko <>

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
Signed-off-by: default avatarhuangdaode <>
Signed-off-by: default avataryankejian <>
Reviewed-by: default avatarJiri Pirko <>
Signed-off-by: default avatarDavid S. Miller <>
parent 5fcd2d8b
......@@ -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"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment