[PATCH v2] drm/bridge: dw-hdmi: Avoid including uapi headers
neil.armstrong at linaro.org
neil.armstrong at linaro.org
Mon Apr 14 07:38:38 UTC 2025
On 11/04/2025 13:59, Andy Yan wrote:
> From: Andy Yan <andy.yan at rock-chips.com>
>
> It is not recommended for drivers to include UAPI header
> directly.
>
> Signed-off-by: Andy Yan <andy.yan at rock-chips.com>
> Reviewed-by: Heiko Stuebner <heiko at sntech.de>
>
> ---
>
> Changes in v2:
> - Collect R-b from Heiko.
>
> drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
> index b1cdf806b3c40..deaba3b6f9978 100644
> --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
> +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c
> @@ -22,8 +22,8 @@
>
> #include <media/cec-notifier.h>
>
> -#include <uapi/linux/media-bus-format.h>
> -#include <uapi/linux/videodev2.h>
> +#include <linux/media-bus-format.h>
> +#include <linux/videodev2.h>
>
> #include <drm/bridge/dw_hdmi.h>
> #include <drm/display/drm_hdmi_helper.h>
Reviewed-by: Neil Armstrong <neil.armstrong at linaro.org>
More information about the dri-devel
mailing list