iio: trigger: stm32-lptimer: Fix build warnings about export.h
authorAntonio Borneo <antonio.borneo@foss.st.com>
Tue, 10 Jun 2025 12:48:54 +0000 (14:48 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Thu, 26 Jun 2025 18:32:52 +0000 (19:32 +0100)
commitd657e251d9d48057b27e1aa175d5440653b20c54
tree57762f89d874ba529172f364ae341fe127adecb5
parent2628736bd4880fd29b6ec8f6064a8a8c7ce1fbcf
iio: trigger: stm32-lptimer: 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/iio/trigger/stm32-lptimer-trigger.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://patch.msgid.link/20250610124855.269158-5-antonio.borneo@foss.st.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/trigger/stm32-lptimer-trigger.c