netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 1/1] ixp4xx_eth: fix ptp_ixp46x build failure
@ 2012-08-05 20:30 Arnaud Patard
  2012-08-06  6:23 ` Richard Cochran
  2012-08-06 20:31 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Arnaud Patard @ 2012-08-05 20:30 UTC (permalink / raw)
  To: netdev; +Cc: Krzysztof Halasa

[-- Attachment #1: ixp46x_build_failure.patch --]
[-- Type: text/plain, Size: 826 bytes --]

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>
Index: efika/drivers/net/ethernet/xscale/ixp4xx_eth.c
===================================================================
--- efika.orig/drivers/net/ethernet/xscale/ixp4xx_eth.c	2012-07-29 14:03:12.710197591 +0200
+++ efika/drivers/net/ethernet/xscale/ixp4xx_eth.c	2012-08-05 11:13:13.188037295 +0200
@@ -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)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch 1/1] ixp4xx_eth: fix ptp_ixp46x build failure
  2012-08-05 20:30 [patch 1/1] ixp4xx_eth: fix ptp_ixp46x build failure Arnaud Patard
@ 2012-08-06  6:23 ` Richard Cochran
  2012-08-06 20:31 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Cochran @ 2012-08-06  6:23 UTC (permalink / raw)
  To: Arnaud Patard; +Cc: netdev, Krzysztof Halasa

On Sun, Aug 05, 2012 at 10:30:11PM +0200, Arnaud Patard wrote:
> 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.

Thanks for patching this.

Acked-by: Richard Cochran <richardcochran@gmail.com>
 
> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
> Index: efika/drivers/net/ethernet/xscale/ixp4xx_eth.c
> ===================================================================
> --- efika.orig/drivers/net/ethernet/xscale/ixp4xx_eth.c	2012-07-29 14:03:12.710197591 +0200
> +++ efika/drivers/net/ethernet/xscale/ixp4xx_eth.c	2012-08-05 11:13:13.188037295 +0200
> @@ -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 majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [patch 1/1] ixp4xx_eth: fix ptp_ixp46x build failure
  2012-08-05 20:30 [patch 1/1] ixp4xx_eth: fix ptp_ixp46x build failure Arnaud Patard
  2012-08-06  6:23 ` Richard Cochran
@ 2012-08-06 20:31 ` David Miller
  1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2012-08-06 20:31 UTC (permalink / raw)
  To: arnaud.patard; +Cc: netdev, khc

From: Arnaud Patard (Rtp) <arnaud.patard@rtp-net.org>
Date: Sun, 05 Aug 2012 22:30:11 +0200

> 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>

Applied.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-08-06 20:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-05 20:30 [patch 1/1] ixp4xx_eth: fix ptp_ixp46x build failure Arnaud Patard
2012-08-06  6:23 ` Richard Cochran
2012-08-06 20:31 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).