video: imxfb: fix imxfb_info configuration order
authorGwenhael Goavec-Merou <gwe@trabucayre.com>
Sun, 13 Jan 2013 15:56:43 +0000 (16:56 +0100)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 14 Jan 2013 00:16:18 +0000 (08:16 +0800)
commitafc10301f70350b490ca518ceb793928854b5453
treec6430549ad63a1bce13d49127e9d768ebca9adba
parent006e792ba5f60c59d8bc5ac5628c54e021e8580f
video: imxfb: fix imxfb_info configuration order

The devtype field for fbi (struct imxfb_info) must be set after memset call to
avoid some wrong behaviour (pixel size).

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@armadeus.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
drivers/video/imxfb.c