]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: use macros to assign mmio access functions
authorYu Zhang <yu.c.zhang@linux.intel.com>
Thu, 23 Oct 2014 07:28:24 +0000 (15:28 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 24 Oct 2014 14:34:13 +0000 (16:34 +0200)
commit8f3b4735373436889d69f950aeeb79af280db5e2
treef015945224461a740f233edaf6d683c766b2f996
parent7ee6b281876d499a5d6570287d34058985c1fc4a
drm/i915: use macros to assign mmio access functions

This is beautification prep work since vgt will add even more special
cases. With these macros it's much easier to see what's going on
really.

Signed-off-by: Yu Zhang <yu.c.zhang@linux.intel.com>
[danvet: #undef the temporary macros after the function again. And
write a commit message.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_uncore.c