Commit 51474335 authored by Sam Ravnborg's avatar Sam Ravnborg Committed by Patrik Jakobsson
Browse files

drm/gma500: drop drmP.h from header files



Drop use of drmp.h from all header files in drm/gma500.
Fix fallout in all files.
In some cases moved include lines and sorted them too.
With drmP.h removed from all header files it can now be removed from
each .c file without any further dependencies

Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: default avatarPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190519195526.3422-3-sam@ravnborg.org
parent d825c565
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -22,7 +22,6 @@
#ifndef _FRAMEBUFFER_H_
#define _FRAMEBUFFER_H_

#include <drm/drmP.h>
#include <drm/drm_fb_helper.h>

#include "psb_drv.h"
+0 −1
Original line number Diff line number Diff line
@@ -20,7 +20,6 @@
#ifndef _PSB_GTT_H_
#define _PSB_GTT_H_

#include <drm/drmP.h>
#include <drm/drm_gem.h>

/* This wants cleaning up with respect to the psb_dev and un-needed stuff */
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
 */
#include <drm/drmP.h>
#include <drm/drm.h>
#include <drm/drm_dp_helper.h>

#include "psb_drv.h"
#include "psb_intel_drv.h"
+1 −2
Original line number Diff line number Diff line
@@ -22,8 +22,7 @@
#ifndef _INTEL_BIOS_H_
#define _INTEL_BIOS_H_

#include <drm/drmP.h>
#include <drm/drm_dp_helper.h>
struct drm_device;

struct vbt_header {
	u8 signature[20];		/**< Always starts with 'VBT$' */
+2 −1
Original line number Diff line number Diff line
@@ -17,9 +17,10 @@
 * Authors:
 *	Eric Anholt <eric@anholt.net>
 */
#include <linux/delay.h>
#include <linux/export.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/i2c.h>

#include "psb_drv.h"
#include "psb_intel_reg.h"
Loading