]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/nouveau: drop drmP.h from all header files
authorSam Ravnborg <sam@ravnborg.org>
Sun, 19 May 2019 14:00:43 +0000 (16:00 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 23 Aug 2019 02:55:30 +0000 (12:55 +1000)
Drop include of the deprecated drmP.h from all nouveau heder files.
This allows us to remove drmP.h from all .c files without any
side-effects in a follow-up commit.

Build tested using allyeyconfig and allmodconfig

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: nouveau@lists.freedesktop.org
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv04/hw.h
drivers/gpu/drm/nouveau/nouveau_crtc.h
drivers/gpu/drm/nouveau/nouveau_debugfs.h
drivers/gpu/drm/nouveau/nouveau_gem.h

index 3a2be47fb4f12fe9f389e8f61546fa25a8f1d91d..6987e1766cd232fc7b97047ea6ecdf018d87670f 100644 (file)
@@ -23,7 +23,6 @@
 #ifndef __NOUVEAU_HW_H__
 #define __NOUVEAU_HW_H__
 
-#include <drm/drmP.h>
 #include "disp.h"
 #include "nvreg.h"
 
index 366acb928f5771682df777eddb721f4934ffc70b..7f63be2ec35db53377cdb8b0bcbd791d040502e3 100644 (file)
@@ -27,6 +27,8 @@
 #ifndef __NOUVEAU_CRTC_H__
 #define __NOUVEAU_CRTC_H__
 
+#include <drm/drm_crtc.h>
+
 #include <nvif/notify.h>
 
 struct nouveau_crtc {
index 9420a6aca1385cc2b52a3dc64d1068cfb8695f97..8909c010e8eaebfe4fe4eb08737a61e01e98be11 100644 (file)
@@ -2,7 +2,7 @@
 #ifndef __NOUVEAU_DEBUGFS_H__
 #define __NOUVEAU_DEBUGFS_H__
 
-#include <drm/drmP.h>
+#include <drm/drm_debugfs.h>
 
 #if defined(CONFIG_DEBUG_FS)
 
index 40ba0f1ba5aac8c762512213ab5e0422360cec30..978e07591990bd4a17f12cfdd0a28498aee2c5ea 100644 (file)
@@ -2,8 +2,6 @@
 #ifndef __NOUVEAU_GEM_H__
 #define __NOUVEAU_GEM_H__
 
-#include <drm/drmP.h>
-
 #include "nouveau_drv.h"
 #include "nouveau_bo.h"