ptp: remember the adjusted frequency
authorRichard Cochran <richardcochran@gmail.com>
Sat, 22 Sep 2012 07:02:01 +0000 (07:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Sep 2012 19:41:29 +0000 (15:41 -0400)
commit39a8cbd9ca051fb164db70315e7972de5c153c33
treec273bdec9420a47bf34a6e8985b102481d41bca3
parent717ecc276dadf31cd858d4e56ac71c3cc479fc19
ptp: remember the adjusted frequency

This patch adds a field to the representation of a PTP hardware clock in
order to remember the frequency adjustment value dialed by the user.

Adding this field will let us answer queries in the manner of adjtimex
in a follow on patch.

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