drm: fixed: Don't use "proxy" headers
Subsystems (2)
PATCH 1/1 drm: fixed: Don't use "proxy" headers
Update header inclusions to follow IWYU (Include What You Use) principle.
--- include/drm/drm_fixed.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/drm/drm_fixed.h +2 -1
@@ -25,8 +25,9 @@ #ifndef DRM_FIXED_H #define DRM_FIXED_H -#include <linux/kernel.h> #include <linux/math64.h> +#include <linux/types.h> +#include <linux/wordpart.h> typedef union dfixed { u32 full;
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
Quoted 4 lines · Andy Shevchenko
Update header inclusions to follow IWYU (Include What You Use) principle.
Signed-off-by Andy Shevchenko <[email protected]>
Assuming it builds, and nothing depends on other stuff from kernel.h via drm_fixed.h,
Quoted 19 lines
--- include/drm/drm_fixed.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)include/drm/drm_fixed.h +2
-1@@ -25,8 +25,9 @@ #ifndef DRM_FIXED_H #define DRM_FIXED_H -#include <linux/kernel.h> #include <linux/math64.h> +#include <linux/types.h> +#include <linux/wordpart.h> typedef union dfixed { u32 full;
Signature · 1 line
Jani Nikula, Intel
Quoted 8 lines · Jani Nikula
Quoted 4 lines · Andy Shevchenko
Update header inclusions to follow IWYU (Include What You Use) principle.
Signed-off-by Andy Shevchenko <[email protected]>Assuming it builds, and nothing depends on other stuff from
kernel.hviadrm_fixed.h,
For the record, I have built-tested this via make allyesconfig on x86_64.
Quoted 1 line
Reviewed-by Jani Nikula <[email protected]>
Thank you!
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 7 lines · Andy Shevchenko
Quoted 6 lines · Jani Nikula
Quoted 4 lines · Andy Shevchenko
Update header inclusions to follow IWYU (Include What You Use) principle.
Signed-off-by Andy Shevchenko <[email protected]>
Quoted 8 lines
Quoted 2 lines
Assuming it builds, and nothing depends on other stuff from
kernel.hviadrm_fixed.h,For the record, I have built-tested this via
make allyesconfigonx86_64.Quoted 1 line
Reviewed-by Jani Nikula <[email protected]>Thank you!
Who is going to apply this, please?
Signature · 2 lines
With Best Regards, Andy Shevchenko
Jani Nikula
AppliedQuoted 11 lines · Andy Shevchenko
Quoted 10 lines · Andy Shevchenko
Quoted 8 lines · Jani Nikula
Quoted 4 lines · Andy Shevchenko
Update header inclusions to follow IWYU (Include What You Use) principle.
Signed-off-by Andy Shevchenko <[email protected]>Assuming it builds, and nothing depends on other stuff from
kernel.hviadrm_fixed.h,
Quoted 7 lines
Quoted 5 lines
For the record, I have built-tested this via
make allyesconfigonx86_64.Quoted 1 line
Reviewed-by Jani Nikula <[email protected]>Thank you!
Who is going to apply this, please?
Pushed to drm-misc-next, thanks for the patch.
BR,
Jani.
Signature · 1 line
Jani Nikula, Intel