From: Roel Kluin Date: Tue, 22 Sep 2009 23:47:04 +0000 (-0700) Subject: platinumfb: fix misplaced parenthesis X-Git-Tag: tegra-9.12.13.ER~1186 X-Git-Url: https://nv-tegra.nvidia.com/r/gitweb?p=linux-2.6.git;a=commitdiff_plain;h=6e3658f0df6f708202159302b4f3915d9b97b8dc;hp=6e3658f0df6f708202159302b4f3915d9b97b8dc 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 Cc: Geert Uytterhoeven Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Ville Syrjala Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds ---