]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: add parentheses around PIXCLK_GATE definitions
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Wed, 8 Aug 2012 17:15:32 +0000 (14:15 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 9 Aug 2012 16:42:09 +0000 (18:42 +0200)
commit88a1477ee446582b087f7bd79e545308d3d6e88c
treeb40b072450c19f11d175dda5e82818e4c473be71
parentc3627d360e6143a8d71bf743d6fb6c921a6c76cc
drm/i915: add parentheses around PIXCLK_GATE definitions

By looking at the current way we're using these definitions I don't
think this commit will fix any bug, but programmers from the future
are evil and will certainly find ways to combine macro expansion with
operator precedence to introduce bugs that are hard to find.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_reg.h