]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Remove __I915__ magic macro
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Wed, 16 Nov 2016 08:55:45 +0000 (08:55 +0000)
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>
Thu, 17 Nov 2016 13:56:54 +0000 (13:56 +0000)
commit5ca43ef00fdd0d6cec4d654aa7ddb0e552ad3cea
tree451ba6fc384caba57f82a91f4c3c106f4b0d9f1c
parent801388cb168da9a63f0b4e839a7927d4c0e2b5cb
drm/i915: Remove __I915__ magic macro

And at the same time introduce a static inline helper for
more type safety.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1479286545-15020-2-git-send-email-tvrtko.ursulin@linux.intel.com
drivers/gpu/drm/i915/i915_drv.h