aboutsummaryrefslogtreecommitdiffstats
path: root/include/soc
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-04-06 13:22:51 +0300
committerDavid S. Miller <davem@davemloft.net>2021-04-06 16:32:17 -0700
commita460513ed4b6994bfeb7bd86f72853140bc1ac12 (patch)
treec85178cb51f968494e0e5e182dc31cfc29c6c657 /include/soc
parentstmmac: intel: Drop duplicate ID in the list of PCI device IDs (diff)
downloadlinux-dev-a460513ed4b6994bfeb7bd86f72853140bc1ac12.tar.xz
linux-dev-a460513ed4b6994bfeb7bd86f72853140bc1ac12.zip
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>
Diffstat (limited to 'include/soc')
-rw-r--r--include/soc/mscc/ocelot_ptp.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/soc/mscc/ocelot_ptp.h b/include/soc/mscc/ocelot_ptp.h
index 6a7388fa7cc5..ded497d72bdb 100644
--- a/include/soc/mscc/ocelot_ptp.h
+++ b/include/soc/mscc/ocelot_ptp.h
@@ -37,8 +37,6 @@ enum {
#define PTP_CFG_MISC_PTP_EN BIT(2)
-#define PSEC_PER_SEC 1000000000000LL
-
#define PTP_CFG_CLK_ADJ_CFG_ENA BIT(0)
#define PTP_CFG_CLK_ADJ_CFG_DIR BIT(1)