From c6f9d73c58bff245d8aedc5e979cf51afc3ad0d9 Mon Sep 17 00:00:00 2001 From: Jon Hunter Date: Tue, 31 Jan 2023 16:01:33 +0000 Subject: [PATCH] platform: tegra: nvpps: Move ptp-notifier source Move the ptp-notifier.c source file under the 'nvpps' driver directory because this is built into the NVPPS driver. Bug 3918941 Change-Id: I4055422dac4f744f9978196ffcc54c20c666e95c Signed-off-by: Jon Hunter Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2851187 Reviewed-by: Laxman Dewangan GVS: Gerrit_Virtual_Submit --- drivers/nvpps/Makefile | 6 +++--- drivers/{platform/tegra => nvpps}/ptp-notifier.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) rename drivers/{platform/tegra => nvpps}/ptp-notifier.c (97%) diff --git a/drivers/nvpps/Makefile b/drivers/nvpps/Makefile index f09ff4d4..0d2baf77 100644 --- a/drivers/nvpps/Makefile +++ b/drivers/nvpps/Makefile @@ -5,6 +5,6 @@ # NVPPS driver and PTP Framework. # -obj-m += nvpps.o -nvpps-y += ../platform/tegra/ptp-notifier.o -nvpps-y += nvpps_main.o +nvpps-y := nvpps_main.o ptp-notifier.o + +obj-m := nvpps.o diff --git a/drivers/platform/tegra/ptp-notifier.c b/drivers/nvpps/ptp-notifier.c similarity index 97% rename from drivers/platform/tegra/ptp-notifier.c rename to drivers/nvpps/ptp-notifier.c index ff734f71..24b525f2 100644 --- a/drivers/platform/tegra/ptp-notifier.c +++ b/drivers/nvpps/ptp-notifier.c @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * Copyright (c) 2022, NVIDIA CORPORATION & AFFILIATES. All rights reserved. + * Copyright (c) 2022-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved. */ #include