diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-08-01 09:24:19 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-02 18:15:02 -0700 |
commit | 2802d2cf24b1ca7ea4c54dde266ded6a16020eb5 (patch) | |
tree | 8c6e92626d450cefe9b83f369765411cbf3e07f9 /mm/mmzone.c | |
parent | 3690c8c9a8edff0db077a38783112d8fe12a7dd2 (diff) | |
download | linux-2802d2cf24b1ca7ea4c54dde266ded6a16020eb5.tar.bz2 |
enetc: Select PHYLIB while CONFIG_FSL_ENETC_VF is set
Like FSL_ENETC, when CONFIG_FSL_ENETC_VF is set,
we should select PHYLIB, otherwise building still fails:
drivers/net/ethernet/freescale/enetc/enetc.o: In function `enetc_open':
enetc.c:(.text+0x2744): undefined reference to `phy_start'
enetc.c:(.text+0x282c): undefined reference to `phy_disconnect'
drivers/net/ethernet/freescale/enetc/enetc.o: In function `enetc_close':
enetc.c:(.text+0x28f8): undefined reference to `phy_stop'
enetc.c:(.text+0x2904): undefined reference to `phy_disconnect'
drivers/net/ethernet/freescale/enetc/enetc_ethtool.o:(.rodata+0x3f8): undefined reference to `phy_ethtool_get_link_ksettings'
drivers/net/ethernet/freescale/enetc/enetc_ethtool.o:(.rodata+0x400): undefined reference to `phy_ethtool_set_link_ksettings'
Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: d4fd0404c1c9 ("enetc: Introduce basic PF and VF ENETC ethernet drivers")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/mmzone.c')
0 files changed, 0 insertions, 0 deletions