From: Naman Jain Date: Wed, 11 Jun 2025 10:04:57 +0000 (+0530) Subject: clocksource: hyper-v: Fix warnings for missing export.h header inclusion X-Git-Tag: v6.16-rc7~6^2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5b187e9a31547d63a1a4078b79f7fb3fdbca92cd;p=thirdparty%2Fkernel%2Flinux.git clocksource: hyper-v: Fix warnings for missing export.h header inclusion Fix below warning in Hyper-V clocksource driver that comes when kernel is compiled with W=1 option. Include export.h in driver files to fix it. * warning: EXPORT_SYMBOL() is used, but #include is missing Signed-off-by: Naman Jain Reviewed-by: Saurabh Sengar Link: https://lore.kernel.org/r/20250611100459.92900-5-namjain@linux.microsoft.com Signed-off-by: Wei Liu Message-ID: <20250611100459.92900-5-namjain@linux.microsoft.com> --- diff --git a/drivers/clocksource/hyperv_timer.c b/drivers/clocksource/hyperv_timer.c index 09549451dd515..2edc13ca184e0 100644 --- a/drivers/clocksource/hyperv_timer.c +++ b/drivers/clocksource/hyperv_timer.c @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include