gianfar: fix phc index build failure
authorRichard Cochran <richardcochran@gmail.com>
Thu, 20 Sep 2012 19:11:12 +0000 (19:11 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:39:46 +0000 (10:39 -0700)
commit63bd905214a37724dce79131461366d16a6397db
tree26dd331b64b4e01236110dd143acf4009a220e18
parent679663e954700404017a781250f7fd8e749b3529
gianfar: fix phc index build failure

commit 28889b7e7818342f6c254e27b9b2c68702ab867a upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/freescale/gianfar_ethtool.c
drivers/net/ethernet/freescale/gianfar_ptp.c