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)
commit9d9d415f0048e4f7a6109595e2d1657850569c6c
tree225109473aea67be3c15d38685495d80da1d6972
parent532062b099563cba7a93bd9bd50554948661f013
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