riva/fbdev: fix several -Wuninitialized
authorDanny Kukawka <danny.kukawka@bisect.de>
Mon, 30 Jan 2012 22:00:17 +0000 (23:00 +0100)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Mon, 13 Feb 2012 02:59:14 +0000 (02:59 +0000)
commitc718a54649475cc397484f96e70f6d0fdd267165
treed9762c96873d0697d4ba16f43040814fc4640f1d
parentc6d242aa64d27ebd258a12aa0a5da068e25e01f5
riva/fbdev: fix several -Wuninitialized

Fix several -Wuninitialized compiler warnings by changing the
order of getting modedb in riva_update_default_var() to set
first the fallback and then the prefered timing.

Signed-off-by: Danny Kukawka <danny.kukawka@bisect.de>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/riva/fbdev.c