summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2025-06-27 13:34:15 +0300
committerJavier Martinez Canillas <javierm@redhat.com>2025-06-27 14:01:11 +0300
commit017a6f7e7e25017eef9c30946cb0e7c803cb3f35 (patch)
treec3f795bd663e49c55d148292d62b14cae8c39b2b /include/linux
parent3529cb5ab16b4f1f8bbc31dc39a1076a94bd1e38 (diff)
downloadlinux-017a6f7e7e25017eef9c30946cb0e7c803cb3f35.tar.xz
firmware: sysfb: Don't use "proxy" headers
Update header inclusions to follow IWYU (Include What You Use) principle. Note that kernel.h is discouraged to be included as it's written at the top of that file. Reviewed-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20250627103454.702606-1-andriy.shevchenko@linux.intel.com Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/sysfb.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/sysfb.h b/include/linux/sysfb.h
index 07cbab516942..b449665c686a 100644
--- a/include/linux/sysfb.h
+++ b/include/linux/sysfb.h
@@ -7,9 +7,13 @@
* Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com>
*/
-#include <linux/kernel.h>
+#include <linux/err.h>
+#include <linux/types.h>
+
#include <linux/platform_data/simplefb.h>
+struct device;
+struct platform_device;
struct screen_info;
enum {