Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fbdev/omap2: Do not include <linux/export.h>

Fix the compile-time warnings

drivers/video/fbdev/omap2/omapfb/dss/dpi.c: warning: EXPORT_SYMBOL() is not used, but #include <linux/export.h> is present
drivers/video/fbdev/omap2/omapfb/dss/sdi.c: warning: EXPORT_SYMBOL() is not used, but #include <linux/export.h> is present
drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c: warning: EXPORT_SYMBOL() is not used, but #include <linux/export.h> is present

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Helge Deller <deller@gmx.de>
Fixes: 7d95680d64ac ("scripts/misc-check: check unnecessary #include <linux/export.h> when W=1")
Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/r/20250612081738.197826-10-tzimmermann@suse.de

-3
-1
drivers/video/fbdev/omap2/omapfb/dss/dpi.c
··· 13 13 14 14 #include <linux/kernel.h> 15 15 #include <linux/delay.h> 16 - #include <linux/export.h> 17 16 #include <linux/err.h> 18 17 #include <linux/errno.h> 19 18 #include <linux/platform_device.h>
-1
drivers/video/fbdev/omap2/omapfb/dss/sdi.c
··· 12 12 #include <linux/delay.h> 13 13 #include <linux/err.h> 14 14 #include <linux/regulator/consumer.h> 15 - #include <linux/export.h> 16 15 #include <linux/platform_device.h> 17 16 #include <linux/string.h> 18 17 #include <linux/of.h>
-1
drivers/video/fbdev/omap2/omapfb/omapfb-ioctl.c
··· 16 16 #include <linux/mm.h> 17 17 #include <linux/omapfb.h> 18 18 #include <linux/vmalloc.h> 19 - #include <linux/export.h> 20 19 #include <linux/sizes.h> 21 20 22 21 #include <video/omapfb_dss.h>