From: Aaro Koskinen Date: Fri, 6 Apr 2012 22:13:48 +0000 (+0300) Subject: staging: xgifb: XGIfb_mode_rate_to_ddata: initialize ModeIdIndex properly X-Git-Tag: v3.5-rc1~145^2~229^2~273 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=051ff1bb3cb30e5e94d402fe5c9c1fdf4f9cd24c;p=pandora-kernel.git staging: xgifb: XGIfb_mode_rate_to_ddata: initialize ModeIdIndex properly Initialize ModeIdIndex according to the selected video mode. Currently index 0 is always used and wrong video mode data may be used. Signed-off-by: Aaro Koskinen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed