]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clocksource: hyper-v: Fix warnings for missing export.h header inclusion
authorNaman Jain <namjain@linux.microsoft.com>
Wed, 11 Jun 2025 10:04:57 +0000 (15:34 +0530)
committerWei Liu <wei.liu@kernel.org>
Wed, 9 Jul 2025 23:46:06 +0000 (23:46 +0000)
commit5b187e9a31547d63a1a4078b79f7fb3fdbca92cd
tree934732fa39926004f8c009c765e7e064ef7c01cc
parent0271e72bc0f7cf180dce3f6d145c83f2d5709a25
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 <linux/export.h>
is missing

Signed-off-by: Naman Jain <namjain@linux.microsoft.com>
Reviewed-by: Saurabh Sengar <ssengar@linux.microsoft.com>
Link: https://lore.kernel.org/r/20250611100459.92900-5-namjain@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20250611100459.92900-5-namjain@linux.microsoft.com>
drivers/clocksource/hyperv_timer.c