]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mfd: stm32-timers: Fix build warnings about export.h
authorAntonio Borneo <antonio.borneo@foss.st.com>
Tue, 10 Jun 2025 12:48:55 +0000 (14:48 +0200)
committerLee Jones <lee@kernel.org>
Thu, 24 Jul 2025 10:27:01 +0000 (11:27 +0100)
commitfc07e412ea38078662723e8e511089d235bdc25d
treea8e9709f873de9e0f310af42652da0441f4e1238
parentfe473fba6435f631a4c7459c02057bf57457e128
mfd: stm32-timers: Fix build warnings about export.h

After commit a934a57a42f6 ("scripts/misc-check: check missing #include
<linux/export.h> when W=1") and commit 7d95680d64ac ("scripts/misc-check:
check unnecessary #include <linux/export.h> when W=1") we get the build
warning with W=1:

drivers/mfd/stm32-timers.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing

Fix it.

Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com>
Acked-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://lore.kernel.org/r/20250610124855.269158-6-antonio.borneo@foss.st.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/stm32-timers.c