projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f716168
)
ixp4xx_eth: fix ptp_ixp46x build failure
author
Arnaud Patard (Rtp)
<
[email protected]
>
Sun, 5 Aug 2012 10:30:11 +0000
(10:30 +0000)
committer
David S. Miller
<
[email protected]
>
Mon, 6 Aug 2012 20:30:01 +0000
(13:30 -0700)
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 <
[email protected]
>
Acked-by: Richard Cochran <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/xscale/ixp4xx_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/xscale/ixp4xx_eth.c
b/drivers/net/ethernet/xscale/ixp4xx_eth.c
index 482648fcf0b6327bb9c482c1c36880ece1627caa..98934bdf6acffc053fcd317721e8d92cf649ba14 100644
(file)
--- 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)