drm/i915: drop the typedef for drm_i915_private_t
authorJani Nikula <jani.nikula@intel.com>
Mon, 31 Mar 2014 11:27:22 +0000 (14:27 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 1 Apr 2014 20:58:23 +0000 (22:58 +0200)
There are no longer users of drm_i915_private_t. Drop the typedef. Good
riddance.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Chris Wilson <chris@chris-wislon.co.uk>
[danvet: Add the hunk in i915_cmd_parser.c here which had to be
relocated to the how this was merged.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_cmd_parser.c
drivers/gpu/drm/i915/i915_drv.h

index 788bd96b266b6d9429ca35775172f8abb564f161..d8e5034bdb1dd932bef682e31de8fa940d9235d6 100644 (file)
@@ -730,7 +730,7 @@ finish:
  */
 bool i915_needs_cmd_parser(struct intel_ring_buffer *ring)
 {
-       drm_i915_private_t *dev_priv = ring->dev->dev_private;
+       struct drm_i915_private *dev_priv = ring->dev->dev_private;
 
        /* No command tables indicates a platform without parsing */
        if (!ring->cmd_tables)
index 2f1d20ac73333892cdf982e703705da9e86c4b91..ff02225d5edddcb3aac04252a32764257dd977f4 100644 (file)
@@ -1253,7 +1253,7 @@ struct intel_pipe_crc {
        wait_queue_head_t wq;
 };
 
-typedef struct drm_i915_private {
+struct drm_i915_private {
        struct drm_device *dev;
        struct kmem_cache *slab;
 
@@ -1459,7 +1459,7 @@ typedef struct drm_i915_private {
        struct i915_dri1_state dri1;
        /* Old ums support infrastructure, same warning applies. */
        struct i915_ums_state ums;
-} drm_i915_private_t;
+};
 
 static inline struct drm_i915_private *to_i915(const struct drm_device *dev)
 {