From 7e82f57b749536bd7cd87bb9c7fe19a3462cab6a Mon Sep 17 00:00:00 2001 From: Jon Hunter Date: Tue, 26 Mar 2024 09:31:56 +0000 Subject: [PATCH] nvpps: Add missing header of.h Building the NVPPS driver with Linux v6.9-rc1 is failing with the following error ... drivers/nvpps/ptp-notifier.c:125:69: error: invalid use of undefined type 'const struct device_node' Add the header file of.h to fix this build issue. Bug 3826818 Bug 4471899 Change-Id: I0eb23e3556ec280447e3d2c499afc11daad601a0 Signed-off-by: Jon Hunter Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3104379 GVS: Gerrit_Virtual_Submit Reviewed-by: Paritosh Dixit Reviewed-by: svcacv --- drivers/nvpps/ptp-notifier.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/nvpps/ptp-notifier.c b/drivers/nvpps/ptp-notifier.c index 2218dfd9..20e8edd9 100644 --- a/drivers/nvpps/ptp-notifier.c +++ b/drivers/nvpps/ptp-notifier.c @@ -3,6 +3,7 @@ #include #include +#include #include #include