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

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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@
#ifndef __NOUVEAU_HW_H__
#define __NOUVEAU_HW_H__

#include <drm/drmP.h>
#include "disp.h"
#include "nvreg.h"

+2 −0
Original line number Diff line number Diff line
@@ -27,6 +27,8 @@
#ifndef __NOUVEAU_CRTC_H__
#define __NOUVEAU_CRTC_H__

#include <drm/drm_crtc.h>

#include <nvif/notify.h>

struct nouveau_crtc {
+1 −1
Original line number Diff line number Diff line
@@ -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)

+0 −2
Original line number Diff line number Diff line
@@ -2,8 +2,6 @@
#ifndef __NOUVEAU_GEM_H__
#define __NOUVEAU_GEM_H__

#include <drm/drmP.h>

#include "nouveau_drv.h"
#include "nouveau_bo.h"