Re: [PATCH v1 1/1] drm: fixed: Don't use "proxy" headers
From: Jani Nikula
Date: Mon Apr 22 2024 - 14:51:33 EST
On Mon, 22 Apr 2024, Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> Update header inclusions to follow IWYU (Include What You Use)
> principle.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Assuming it builds, and nothing depends on other stuff from kernel.h via
drm_fixed.h,
Reviewed-by: Jani Nikula <jani.nikula@xxxxxxxxx>
> ---
> include/drm/drm_fixed.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/include/drm/drm_fixed.h b/include/drm/drm_fixed.h
> index 81572d32db0c..387fb81d5b81 100644
> --- a/include/drm/drm_fixed.h
> +++ b/include/drm/drm_fixed.h
> @@ -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;
--
Jani Nikula, Intel