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)
commit745ca3be810b37fba8dd113a028ea71d42e1d892
treeb40b072450c19f11d175dda5e82818e4c473be71
parent5e49cea6437566700294fb559ac0c34e053ad8de
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
This page took 0.038964 seconds and 5 git commands to generate.