Skip to content

Commit 017a6f7

Browse files
andy-shevmartinezjavier
authored andcommitted
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>
1 parent 3529cb5 commit 017a6f7

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

include/linux/sysfb.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@
77
* Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com>
88
*/
99

10-
#include <linux/kernel.h>
10+
#include <linux/err.h>
11+
#include <linux/types.h>
12+
1113
#include <linux/platform_data/simplefb.h>
1214

15+
struct device;
16+
struct platform_device;
1317
struct screen_info;
1418

1519
enum {

0 commit comments

Comments
 (0)