]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbefdb9164f0cf65ec8fb7fb86197a19aadb0cb04
treec6430549ad63a1bce13d49127e9d768ebca9adba
parent9258e4a9905a062dbd02ac5ffa3d2c76ad527b95
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