fbdev/c2p: Include <linux/export.h>

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: a934a57a42 ("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
This commit is contained in:
Thomas Zimmermann
2025-06-12 10:16:26 +02:00
parent 2b04331401
commit 5f13d0ff49
2 changed files with 2 additions and 0 deletions

View File

@@ -8,6 +8,7 @@
* for more details.
*/
#include <linux/export.h>
#include <linux/module.h>
#include <linux/string.h>

View File

@@ -8,6 +8,7 @@
* for more details.
*/
#include <linux/export.h>
#include <linux/module.h>
#include <linux/string.h>