Skip to content

Commit 28b229f

Browse files
committed
pinctrl: intel: fix build warnings about export.h
JIRA: https://issues.redhat.com/browse/RHEL-113190 commit 3b44080 Author: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Date: Wed Jun 11 21:09:56 2025 +0300 pinctrl: intel: fix build warnings about export.h After commit a934a57 ("scripts/misc-check: check missing #include <linux/export.h> when W=1") and 7d95680 ("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. Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Steve Best <sbest@redhat.com>
1 parent 7d9d280 commit 28b229f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pinctrl/intel/pinctrl-intel.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99

1010
#include <linux/acpi.h>
1111
#include <linux/cleanup.h>
12+
#include <linux/export.h>
1213
#include <linux/gpio/driver.h>
1314
#include <linux/interrupt.h>
1415
#include <linux/log2.h>

0 commit comments

Comments
 (0)