]> 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)
commitba88765df335e40ce685790d948b618c6e82130a
treeb40b072450c19f11d175dda5e82818e4c473be71
parent15e4fed402c64684a1d316fab51beef1ebc2f34d
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