diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-09-23 01:47:04 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 16:39:50 +0200 |
commit | 6e3658f0df6f708202159302b4f3915d9b97b8dc (patch) | |
tree | 9763b0882b384cf755910cfc8b364422c67baf6c /include/video | |
parent | fbdev: framebuffer support for HTC Dream (diff) | |
download | linux-6e3658f0df6f708202159302b4f3915d9b97b8dc.tar.xz linux-6e3658f0df6f708202159302b4f3915d9b97b8dc.zip |
platinumfb: fix misplaced parenthesis
Since `+' has a higher precedence than the trinary operator `?', this
added `hres * (1 << color_mode)' to the boolean testing videomode and
depth.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ville Syrjala <syrjala@sci.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/video')
0 files changed, 0 insertions, 0 deletions