gianfar: do not advertise any alarm capability.
authorRichard Cochran <richardcochran@gmail.com>
Mon, 22 Apr 2013 19:42:16 +0000 (19:42 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Mon, 13 May 2013 14:02:26 +0000 (15:02 +0100)
commit25fd4d9121db99556a8c2bb0ba9ae93ac54c3a61
tree022709fdf78f6d075ae6ca6c3f78ca67b5070207
parent7b475d0e41f0979b8f8f475ae5fd3e026216e318
gianfar: do not advertise any alarm capability.

commit cd4baaaa04b4aaa3b0ec4d13a6f3d203b92eadbd upstream.

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/ethernet/freescale/gianfar_ptp.c