Commit 8b82f7c3 authored by Arnaud Patard (Rtp)'s avatar Arnaud Patard (Rtp) Committed by David S. Miller

ixp4xx_eth: fix ptp_ixp46x build failure

When building with ixp4xx_eth and ptp_ixp46x as module, one is getting the
following error:

ERROR: "ixp46x_phc_index" [drivers/ptp/ptp_ixp46x.ko] undefined!

This has been introduced by commit 509a7c25.
Signed-off-by: default avatarArnaud Patard <arnaud.patard@rtp-net.org>
Acked-by: default avatarRichard Cochran <richardcochran@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f716168b
...@@ -1003,6 +1003,7 @@ static int ixp4xx_nway_reset(struct net_device *dev) ...@@ -1003,6 +1003,7 @@ static int ixp4xx_nway_reset(struct net_device *dev)
} }
int ixp46x_phc_index = -1; int ixp46x_phc_index = -1;
EXPORT_SYMBOL_GPL(ixp46x_phc_index);
static int ixp4xx_get_ts_info(struct net_device *dev, static int ixp4xx_get_ts_info(struct net_device *dev,
struct ethtool_ts_info *info) struct ethtool_ts_info *info)
......
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