Skip to content

Commit

Permalink
ixp4xx_eth: fix ptp_ixp46x build failure
Browse files Browse the repository at this point in the history
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 509a7c2.

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>
  • Loading branch information
Arnaud Patard (Rtp) authored and David S. Miller committed Aug 6, 2012
1 parent f716168 commit 8b82f7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/ethernet/xscale/ixp4xx_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8b82f7c

Please sign in to comment.