On Wed, Jun 11, 2025 at 03:34:57PM +0530, Naman Jain wrote: > 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 <namj...@linux.microsoft.com> > --- > drivers/clocksource/hyperv_timer.c | 1 + > 1 file changed, 1 insertion(+) > > 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>
Acked-by: Daniel Lezcano <daniel.lezc...@linaro.org> > -- > 2.34.1 > -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog