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: Sam Ravnborg <sam@ravnborg.org>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: nouveau@lists.freedesktop.org
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Sam Ravnborg 2019-05-19 16:00:43 +02:00 committed by Ben Skeggs
parent c587cd6fc8
commit 3a2b92725b
4 changed files with 3 additions and 4 deletions

View File

@ -23,7 +23,6 @@
#ifndef __NOUVEAU_HW_H__
#define __NOUVEAU_HW_H__
#include <drm/drmP.h>
#include "disp.h"
#include "nvreg.h"

View 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 {

View 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)

View 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"