gianfar: do not advertise any alarm capability.
authorRichard Cochran <richardcochran@gmail.com>
Mon, 22 Apr 2013 19:42:16 +0000 (19:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 25 Apr 2013 05:46:00 +0000 (01:46 -0400)
commitcd4baaaa04b4aaa3b0ec4d13a6f3d203b92eadbd
tree33349cfe5bc7052fd494628dcf123d19c9e8ea54
parent89cc80a44b7c320e08599cb86f6aef0ead8986a1
gianfar: do not advertise any alarm capability.

An early draft of the PHC patch series included an alarm in the
gianfar driver. During the review process, the alarm code was dropped,
but the capability removal was overlooked. This patch fixes the issue
by advertising zero alarms.

This patch should be applied to every 3.x stable kernel.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
Reported-by: Chris LaRocque <clarocq@gmail.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/gianfar_ptp.c