gianfar: fix phc index build failure
authorRichard Cochran <richardcochran@gmail.com>
Thu, 20 Sep 2012 19:11:12 +0000 (19:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Sep 2012 17:45:29 +0000 (13:45 -0400)
commit28889b7e7818342f6c254e27b9b2c68702ab867a
tree322115be231a86bd3086ee31c877d122de025634
parentf950c0ecc78f745e490d615280e031de4dbb1306
gianfar: fix phc index build failure

This patch fixes a build failure introduced in commit 66636287
("gianfar: Support the get_ts_info ethtool method."). Not only was a
global variable inconsistently named, but also it was not exported as
it should have been.

This fix is also needed in stable version 3.5.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar_ethtool.c
drivers/net/ethernet/freescale/gianfar_ptp.c