drm/i915: Replace __I915__ with typesafe variant
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Aug 2014 11:14:12 +0000 (12:14 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Aug 2014 12:23:39 +0000 (14:23 +0200)
Ville pointed out the GCCism __builtin_types_compatible_p() that we
could use to replace our heavily casted presumption __I915__ macro that
was based on comparing struct sizes.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_dma.c
drivers/gpu/drm/i915/i915_drv.h

Simple merge
Simple merge