diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2013-08-01 18:39:55 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-05 19:03:21 +0200 |
commit | 2c1792a10b10e41dcf34c97304fb8f75e52e7112 (patch) | |
tree | e1173623fc7a2fbc05e98798d06bd6ca692475b5 /drivers/gpu/drm/i915/intel_sprite.c | |
parent | b3ae96a8ea1cbd0970459b6efd7ea7550fe033c6 (diff) |
drm/i915: Tidy the macro casting by using an inline function
Some of our macros we trying to convert from an drm_device to a
drm_i915_private and then use the pointer inline. This is not only
cumbersome but prone to error. Replacing it with a typesafe function
should help catch those errors in future.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
[danvet: Squash in fixup to correctly order static vs. inline
qualifiers, static comes first. Also fix up another offender.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_sprite.c')
0 files changed, 0 insertions, 0 deletions