time64.h: Consolidated PSEC_PER_SEC definition
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 6 Apr 2021 10:22:51 +0000 (13:22 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Apr 2021 23:32:17 +0000 (16:32 -0700)
commita460513ed4b6994bfeb7bd86f72853140bc1ac12
treec85178cb51f968494e0e5e182dc31cfc29c6c657
parent3036ec035c4dc7e88439a61f5a714cc3988ab4cf
time64.h: Consolidated PSEC_PER_SEC definition

We have currently three users of the PSEC_PER_SEC each of them defining it
individually. Instead, move it to time64.h to be available for everyone.

There is a new user coming with the same constant in use. It will also
make its life easier.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot_ptp.c
drivers/phy/phy-core-mipi-dphy.c
drivers/phy/rockchip/phy-rockchip-inno-dsidphy.c
include/soc/mscc/ocelot_ptp.h
include/vdso/time64.h