]> git.baikalelectronics.ru Git - kernel.git/commit
cpts: fix build error by removing useless code.
authorRichard Cochran <richardcochran@gmail.com>
Sun, 23 Dec 2012 21:19:09 +0000 (21:19 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Dec 2012 22:15:09 +0000 (14:15 -0800)
commit1260298b4837cc9745739ad07eadb0bf32842b6a
treeb56613a3b5eb22ad90961c53c7cc5ba9addff6c3
parent5da4af3f05e76bf2092ec311ec56a6dd19a375b1
cpts: fix build error by removing useless code.

The cpts driver tries to obtain the input clock frequency by calling the
clock's internal 'recalc' method. Since <plat/clock.h> has been removed,
this code can no longer compile.

However, the driver never makes use of the frequency value, so this patch
fixes the issue by removing the offending code altogether.

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