firmware: sysfb: Don't use "proxy" headers
PATCH v2 1/1 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 <[email protected]>
Reviewed-by Thomas Zimmermann <[email protected]>
Signed-off-by Andy Shevchenko <[email protected]>
---
v2: dropped first patch, added tags (Javier, Thomas)
include/linux/sysfb.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
include/linux/sysfb.h +5 -1
@@ -7,9 +7,13 @@* Copyright (c) 2012-2013 David Herrmann <[email protected]> */ -#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 {
Signature · 1 line
2.47.2
Quoted 6 lines · Andy Shevchenko
Update header inclusions to follow IWYU (Include What You Use) principle.
Note that
kernel.his discouraged to be included as it's written at the top of that file.
Quoted 7 lines
Reviewed-by Javier Martinez Canillas <[email protected]>Reviewed-by Thomas Zimmermann <[email protected]>Signed-off-by Andy Shevchenko <[email protected]>---
v2: dropped first patch, added tags (Javier, Thomas)
Pushed to drm-misc (drm-misc-next). Thanks!
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat