]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: ptp_clock: make scaled_ppm_to_ppb static inline
authorRadu Pirea (NXP OSS) <radu-nicolae.pirea@oss.nxp.com>
Mon, 10 May 2021 15:34:32 +0000 (18:34 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 May 2021 21:54:23 +0000 (14:54 -0700)
commit2e361d868ac793301c085d8320795de1a6301f2a
tree225109473aea67be3c15d38685495d80da1d6972
parente3e9f4691fe9380758269669e2ca5f3d033365b6
ptp: ptp_clock: make scaled_ppm_to_ppb static inline

Make scaled_ppm_to_ppb static inline to be able to build drivers that
use this function even with PTP_1588_CLOCK disabled.

Signed-off-by: Radu Pirea (NXP OSS) <radu-nicolae.pirea@oss.nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_clock.c
include/linux/ptp_clock_kernel.h