ptp: Add a method for obtaining the device index.
authorRichard Cochran <richardcochran@gmail.com>
Tue, 3 Apr 2012 22:59:16 +0000 (22:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Apr 2012 09:28:45 +0000 (05:28 -0400)
commit995a9090b2b7dc734351f3ac0ba8d913ffb87001
treeff47973003ce5c420ca556739885c85d9daa68ee
parent2173bff5dcff4ca02226978f39648b66a8c3ca1e
ptp: Add a method for obtaining the device index.

This commit adds a method that MAC drivers may call in order to find out
the device number of their associated PTP Hardware Clock.

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