Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/r128: drop use of drmP.h

Replace use of the deprecated drmP.h header file
with relevant includes.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190716064220.18157-8-sam@ravnborg.org

+6 -2
+2 -1
drivers/gpu/drm/r128/r128_ioc32.c
··· 29 29 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 30 30 * IN THE SOFTWARE. 31 31 */ 32 + 32 33 #include <linux/compat.h> 33 34 34 - #include <drm/drmP.h> 35 35 #include <drm/r128_drm.h> 36 + 36 37 #include "r128_drv.h" 37 38 38 39 typedef struct drm_r128_init32 {
+4 -1
drivers/gpu/drm/r128/r128_irq.c
··· 30 30 * Eric Anholt <anholt@FreeBSD.org> 31 31 */ 32 32 33 - #include <drm/drmP.h> 33 + #include <drm/drm_device.h> 34 + #include <drm/drm_print.h> 35 + #include <drm/drm_vblank.h> 34 36 #include <drm/r128_drm.h> 37 + 35 38 #include "r128_drv.h" 36 39 37 40 u32 r128_get_vblank_counter(struct drm_device *dev, unsigned int pipe)