drm/stm: prepare for drmP.h removal from drm_modeset_helper.h
authorSam Ravnborg <sam@ravnborg.org>
Sat, 19 Jan 2019 08:40:09 +0000 (09:40 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 24 Jan 2019 12:06:35 +0000 (13:06 +0100)
commit2a6b4990b19fd5dc90f9ad9fa2dfe19c39bf0150
tree49e665d1cb3b06d5fb1780f82261e0c4c69ebc0e
parentd2c20b5d37820876a8beea4d8d0bc59147077dd5
drm/stm: prepare for drmP.h removal from drm_modeset_helper.h

The use of drmP.h is discouraged and removal of it from
drm_modeset_helper.h caused drm/stm to fail to build.

This patch introduce the necessary fixes to prepare for the
drmP.h removal from drm_modeset_helper.h.

Build tested on arm and x86 allmodconfig

v2:
- sort list of include files

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Cc: Yannick Fertre <yannick.fertre@st.com>
Cc: Philippe Cornu <philippe.cornu@st.com>
Cc: Vincent Abriou <vincent.abriou@st.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190119084014.5355-2-sam@ravnborg.org
drivers/gpu/drm/stm/drv.c
drivers/gpu/drm/stm/ltdc.c