pinctrl: intel: fix build warnings about export.h
Subsystems (3)
PATCH 1/1 pinctrl: intel: fix build warnings about export.h
After commit a934a57a42f64a4 ("scripts/misc-check: check missing #include <linux/export.h> when W=1") and 7d95680d64ac8e836c ("scripts/misc-check:
check unnecessary #include <linux/export.h> when W=1"), we get some build warnings with W=1:
pinctrl-intel.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing
So fix these build warnings for the driver code.
--- drivers/pinctrl/intel/pinctrl-intel.c | 1 + 1 file changed, 1 insertion(+)
drivers/pinctrl/intel/pinctrl-intel.c +1 -0
@@ -9,6 +9,7 @@#include <linux/acpi.h> #include <linux/cleanup.h> +#include <linux/export.h> #include <linux/gpio/driver.h> #include <linux/interrupt.h> #include <linux/log2.h>
Signature · 1 line
2.47.2
Quoted 10 lines · Andy Shevchenko
After commit
a934a57a42f64a4("scripts/misc-check: check missing #include <linux/export.h> when W=1") and7d95680d64ac8e836c("scripts/misc-check:
check unnecessary #include <linux/export.h> when W=1"), we get some build warnings with W=1:
pinctrl-intel.c: warning:EXPORT_SYMBOL()is used, but #include <linux/export.h> is missingSo fix these build warnings for the driver code.
Signed-off-by Andy Shevchenko <[email protected]>
Quoted 11 lines · Mika Westerberg
Quoted 8 lines · Andy Shevchenko
After commit
a934a57a42f64a4("scripts/misc-check: check missing #include <linux/export.h> when W=1") and7d95680d64ac8e836c("scripts/misc-check:
check unnecessary #include <linux/export.h> when W=1"), we get some build warnings with W=1:
pinctrl-intel.c: warning:EXPORT_SYMBOL()is used, but #include <linux/export.h> is missingSo fix these build warnings for the driver code.
Acked-by Mika Westerberg <[email protected]>
Pushed to my review and testing queue, thanks!
Signature · 2 lines
With Best Regards, Andy Shevchenko