]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
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 cfd2361f24b1d382432c34f4889d98d868acdf1e..ee4b315d3f409c7a002614c0e0f268f742bf56b8 100644 (file)
@@ -8,6 +8,7 @@
  *  for more details.
  */
 
+#include <linux/export.h>
 #include <linux/module.h>
 #include <linux/string.h>
 
index 819c82a98ac09018839f84690067027ede9da096..236aad5137ef6329a5954fe66c619eb74eab85b7 100644 (file)
@@ -8,6 +8,7 @@
  *  for more details.
  */
 
+#include <linux/export.h>
 #include <linux/module.h>
 #include <linux/string.h>