Message ID | 20250411115941.318558-1-andyshrk@163.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [v2] drm/bridge: dw-hdmi: Avoid including uapi headers | expand |
On 11/04/2025 13:59, Andy Yan wrote: > From: Andy Yan <andy.yan@rock-chips.com> > > It is not recommended for drivers to include UAPI header > directly. > > Signed-off-by: Andy Yan <andy.yan@rock-chips.com> > Reviewed-by: Heiko Stuebner <heiko@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@linaro.org>
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>