[PATCH] drm/bridge: dw-hdmi: Avoid including uapi headers

Andy Yan andyshrk at 163.com
Thu Apr 3 01:49:35 UTC 2025



 Gentle ping......

At 2025-03-14 15:57:47, "Andy Yan" <andyshrk at 163.com> 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>
>---
>
> 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 0890add5f707..306e09a24a1c 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>
>-- 
>2.34.1


More information about the dri-devel mailing list