diff options
author | Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org> | 2012-08-05 14:30:11 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-07 00:30:01 +0400 |
commit | 8b82f7c3c90fa67fd6d5be1deb3cec0e17cc32d9 (patch) | |
tree | 66bf2d21ecb4a8b82d2ed04dca9f97a6de7c773f /drivers/net/ethernet | |
parent | f716168b8aee528cf685246f0e7247aa0d08b79c (diff) | |
download | linux-8b82f7c3c90fa67fd6d5be1deb3cec0e17cc32d9.tar.xz |
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 509a7c25729feab353502e1b544c614772a1d49a.
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Acked-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/xscale/ixp4xx_eth.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/xscale/ixp4xx_eth.c b/drivers/net/ethernet/xscale/ixp4xx_eth.c index 482648fcf0b6..98934bdf6acf 100644 --- a/drivers/net/ethernet/xscale/ixp4xx_eth.c +++ b/drivers/net/ethernet/xscale/ixp4xx_eth.c @@ -1003,6 +1003,7 @@ static int ixp4xx_nway_reset(struct net_device *dev) } int ixp46x_phc_index = -1; +EXPORT_SYMBOL_GPL(ixp46x_phc_index); static int ixp4xx_get_ts_info(struct net_device *dev, struct ethtool_ts_info *info) |