Commit 3a2b9272 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by Ben Skeggs

drm/nouveau: drop drmP.h from all header files

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: default avatarSam Ravnborg <sam@ravnborg.org>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: nouveau@lists.freedesktop.org
Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent c587cd6f
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#ifndef __NOUVEAU_HW_H__ #ifndef __NOUVEAU_HW_H__
#define __NOUVEAU_HW_H__ #define __NOUVEAU_HW_H__
#include <drm/drmP.h>
#include "disp.h" #include "disp.h"
#include "nvreg.h" #include "nvreg.h"
......
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
#ifndef __NOUVEAU_CRTC_H__ #ifndef __NOUVEAU_CRTC_H__
#define __NOUVEAU_CRTC_H__ #define __NOUVEAU_CRTC_H__
#include <drm/drm_crtc.h>
#include <nvif/notify.h> #include <nvif/notify.h>
struct nouveau_crtc { struct nouveau_crtc {
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
#ifndef __NOUVEAU_DEBUGFS_H__ #ifndef __NOUVEAU_DEBUGFS_H__
#define __NOUVEAU_DEBUGFS_H__ #define __NOUVEAU_DEBUGFS_H__
#include <drm/drmP.h> #include <drm/drm_debugfs.h>
#if defined(CONFIG_DEBUG_FS) #if defined(CONFIG_DEBUG_FS)
......
...@@ -2,8 +2,6 @@ ...@@ -2,8 +2,6 @@
#ifndef __NOUVEAU_GEM_H__ #ifndef __NOUVEAU_GEM_H__
#define __NOUVEAU_GEM_H__ #define __NOUVEAU_GEM_H__
#include <drm/drmP.h>
#include "nouveau_drv.h" #include "nouveau_drv.h"
#include "nouveau_bo.h" #include "nouveau_bo.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment