ixp4xx_eth: fix ptp_ixp46x build failure
Subsystems (3)
PATCH 1/1 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.
drivers/net/ethernet/xscale/ixp4xx_eth.c +1 -0
@@ -1003,6 +1003,7 @@ static int ixp4xx_nway_reset(struct net_ }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)
Quoted 6 lines · Arnaud Patard
When building with
ixp4xx_ethandptp_ixp46xas module, one is getting the following error:ERROR: "
ixp46x_phc_index" [drivers/ptp/ptp_ixp46x.ko] undefined!This has been introduced by commit
509a7c25729feab353502e1b544c614772a1d49a.
Thanks for patching this.
Quoted 19 lines
Signed-off-by Arnaud Patard <[email protected]>Index:
efika/drivers/net/ethernet/xscale/ixp4xx_eth.c
===================================================================drivers/net/ethernet/xscale/ixp4xx_eth.c +1
-1@@ -1003,6 +1003,7 @@ static int ixp4xx_nway_reset(struct net_ }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) --To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
From: Arnaud Patard (Rtp) <[email protected]>
Date: Sun, 05 Aug 2012 22:30:11 +0200
Quoted 8 lines
When building with
ixp4xx_ethandptp_ixp46xas 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 <[email protected]>
Applied.