diff options
| author | Naman Jain <[email protected]> | 2025-06-11 10:04:57 +0000 |
|---|---|---|
| committer | Wei Liu <[email protected]> | 2025-07-09 23:46:06 +0000 |
| commit | 5b187e9a31547d63a1a4078b79f7fb3fdbca92cd (patch) | |
| tree | 934732fa39926004f8c009c765e7e064ef7c01cc /drivers/clocksource/hyperv_timer.c | |
| parent | x86/hyperv: Fix warnings for missing export.h header inclusion (diff) | |
| download | kernel-5b187e9a31547d63a1a4078b79f7fb3fdbca92cd.tar.gz kernel-5b187e9a31547d63a1a4078b79f7fb3fdbca92cd.zip | |
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]>
Diffstat (limited to 'drivers/clocksource/hyperv_timer.c')
| -rw-r--r-- | drivers/clocksource/hyperv_timer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clocksource/hyperv_timer.c b/drivers/clocksource/hyperv_timer.c index 09549451dd51..2edc13ca184e 100644 --- a/drivers/clocksource/hyperv_timer.c +++ b/drivers/clocksource/hyperv_timer.c @@ -22,6 +22,7 @@ #include <linux/irq.h> #include <linux/acpi.h> #include <linux/hyperv.h> +#include <linux/export.h> #include <clocksource/hyperv_timer.h> #include <hyperv/hvhdk.h> #include <asm/mshyperv.h> |
