fbdev/c2p: Include <linux/export.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 12 Jun 2025 08:16:26 +0000 (10:16 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 16 Jun 2025 07:06:58 +0000 (09:06 +0200)
Fix the compile-time warnings

  drivers/video/fbdev/c2p_iplan2.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing
  drivers/video/fbdev/c2p_planar.c: warning: EXPORT_SYMBOL() is used, but #include <linux/export.h> is missing

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Helge Deller <deller@gmx.de>
Fixes: a934a57a42f6 ("scripts/misc-check: check missing #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-4-tzimmermann@suse.de
drivers/video/fbdev/c2p_iplan2.c
drivers/video/fbdev/c2p_planar.c

index cfd2361..ee4b315 100644 (file)
@@ -8,6 +8,7 @@
  *  for more details.
  */
 
+#include <linux/export.h>
 #include <linux/module.h>
 #include <linux/string.h>
 
index 819c82a..236aad5 100644 (file)
@@ -8,6 +8,7 @@
  *  for more details.
  */
 
+#include <linux/export.h>
 #include <linux/module.h>
 #include <linux/string.h>