drm/i915: move drmP.h include to i915_drv.h
authorJani Nikula <jani.nikula@intel.com>
Wed, 16 Dec 2015 13:04:18 +0000 (15:04 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 16 Dec 2015 16:01:15 +0000 (18:01 +0200)
The intel_bios.h header doesn't even need it, but other headers included
from i915_drv.h do. Let's untangle the mess a bit.

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1450271061-32646-1-git-send-email-jani.nikula@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_bios.h

index ca8c2a64bc6d2f3824455de0375dabeaaa4ddf2c..fe60b44e7586124bad0454d63884a9e88114e657 100644 (file)
@@ -33,6 +33,7 @@
 #include <uapi/drm/i915_drm.h>
 #include <uapi/drm/drm_fourcc.h>
 
+#include <drm/drmP.h>
 #include "i915_reg.h"
 #include "intel_bios.h"
 #include "intel_ringbuffer.h"
index 689eb42f863c7cb19aaacfd73a6c3c09f0e8e697..54eac1003a1e1669a5eebfeba7e070047aca0ba8 100644 (file)
@@ -28,8 +28,6 @@
 #ifndef _I830_BIOS_H_
 #define _I830_BIOS_H_
 
-#include <drm/drmP.h>
-
 struct vbt_header {
        u8 signature[20];               /**< Always starts with 'VBT$' */
        u16 version;                    /**< decimal */
This page took 0.027892 seconds and 5 git commands to generate.