[PATCH v1 03/33] drm/stm: drop use of drmP.h

Benjamin Gaignard benjamin.gaignard at linaro.org
Mon Jul 1 08:52:58 UTC 2019


Le dim. 30 juin 2019 à 08:19, Sam Ravnborg <sam at ravnborg.org> a écrit :
>
> Drop use of the deprecated header file drmP.h
> from the sole user in the stm driver.
> Replace with necessary include files.

Applied on drm-misc-next.

Thanks,
Benjamin

>
> Signed-off-by: Sam Ravnborg <sam at ravnborg.org>
> Cc: Yannick Fertre <yannick.fertre at st.com>
> Cc: Philippe Cornu <philippe.cornu at st.com>
> Cc: Benjamin Gaignard <benjamin.gaignard at linaro.org>
> Cc: Vincent Abriou <vincent.abriou at st.com>
> Cc: David Airlie <airlied at linux.ie>
> Cc: Daniel Vetter <daniel at ffwll.ch>
> Cc: Maxime Coquelin <mcoquelin.stm32 at gmail.com>
> Cc: Alexandre Torgue <alexandre.torgue at st.com>
> Cc: linux-stm32 at st-md-mailman.stormreply.com
> Cc: linux-arm-kernel at lists.infradead.org
> Cc: linux-stm32 at st-md-mailman.stormreply.com
> Cc: linux-arm-kernel at lists.infradead.org
> ---
> The list of cc: was too large to add all recipients to the cover letter.
> Please find cover letter here:
> https://lists.freedesktop.org/archives/dri-devel/2019-June/thread.html
> Search for "drm: drop use of drmp.h in drm-misc"
>
>         Sam
>
>  drivers/gpu/drm/stm/dw_mipi_dsi-stm.c | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c
> index 0ab32fee6c1b..a03a642c147c 100644
> --- a/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c
> +++ b/drivers/gpu/drm/stm/dw_mipi_dsi-stm.c
> @@ -8,13 +8,17 @@
>
>  #include <linux/clk.h>
>  #include <linux/iopoll.h>
> +#include <linux/mod_devicetable.h>
>  #include <linux/module.h>
> +#include <linux/platform_device.h>
>  #include <linux/regulator/consumer.h>
> -#include <drm/drmP.h>
> -#include <drm/drm_mipi_dsi.h>
> -#include <drm/bridge/dw_mipi_dsi.h>
> +
>  #include <video/mipi_display.h>
>
> +#include <drm/bridge/dw_mipi_dsi.h>
> +#include <drm/drm_mipi_dsi.h>
> +#include <drm/drm_print.h>
> +
>  #define HWVER_130                      0x31333000      /* IP version 1.30 */
>  #define HWVER_131                      0x31333100      /* IP version 1.31 */
>
> --
> 2.20.1
>


More information about the dri-devel mailing list