]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb4f472ff58e334b984e026f32fc0e3502cae5eef
treeff47973003ce5c420ca556739885c85d9daa68ee
parent708e52939b7260d394aab45ab9cbe28f133a08b7
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