Skip to content

Commit 5b187e9

Browse files
Naman Jainliuw
authored andcommitted
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 <[email protected]> Reviewed-by: Saurabh Sengar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wei Liu <[email protected]> Message-ID: <[email protected]>
1 parent 0271e72 commit 5b187e9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clocksource/hyperv_timer.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <linux/irq.h>
2323
#include <linux/acpi.h>
2424
#include <linux/hyperv.h>
25+
#include <linux/export.h>
2526
#include <clocksource/hyperv_timer.h>
2627
#include <hyperv/hvhdk.h>
2728
#include <asm/mshyperv.h>

0 commit comments

Comments
 (0)