[PATCH 13/60] drm/bridge: tfp410: Don't include drmP.h

Tomi Valkeinen tomi.valkeinen at ti.com
Tue Aug 27 06:38:18 UTC 2019


On 07/07/2019 21:18, Laurent Pinchart wrote:
> The drmP.h header is deprecated, replace it with the headers
> specifically needed by the tfp410 driver. While at it, replace the DRM
> print macros with dev_info() and dev_err() instead of including
> drm_print.h
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
>   drivers/gpu/drm/bridge/ti-tfp410.c | 6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/bridge/ti-tfp410.c b/drivers/gpu/drm/bridge/ti-tfp410.c
> index 8d4690e436c3..a1cad777b057 100644
> --- a/drivers/gpu/drm/bridge/ti-tfp410.c
> +++ b/drivers/gpu/drm/bridge/ti-tfp410.c
> @@ -18,6 +18,7 @@
>   #include <linux/platform_device.h>
>   
>   #include <drm/drm_atomic_helper.h>
> +#include <drm/drm_bridge.h>
>   #include <drm/drm_crtc.h>
>   #include <drm/drm_print.h>
>   #include <drm/drm_probe_helper.h>

You're not actually removing drmP.h. So is the drm_bridge.h needed?

  Tomi

-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki


More information about the dri-devel mailing list