]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
fbdev/viafb: Do not include <linux/export.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 12 Jun 2025 08:16:37 +0000 (10:16 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 16 Jun 2025 07:08:06 +0000 (09:08 +0200)
Fix the compile-time warning

  drivers/video/fbdev/via/via-gpio.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-15-tzimmermann@suse.de
drivers/video/fbdev/via/via-gpio.c

index 27226a8f3f42f70e8fed3d4f17709598466f4015..72302384bf772bd2c6355b4a00fb1208bee38b89 100644 (file)
@@ -10,7 +10,6 @@
 #include <linux/gpio/machine.h>
 #include <linux/platform_device.h>
 #include <linux/via-core.h>
-#include <linux/export.h>
 #include "via-gpio.h"
 
 /*