]> git.karo-electronics.de Git - mv-sheeva.git/commit
MXSFB: Fix driver registration
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 19 Dec 2011 15:37:59 +0000 (16:37 +0100)
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>
Wed, 21 Dec 2011 02:24:30 +0000 (02:24 +0000)
commit396fa99e0e58198f400110f2b6432b5b6522476b
tree985cd34e74e1fedbc484215fa1d1249bbb05ab91
parent0d89a28b2285875ccf574e95b6318ca4efcabf3b
MXSFB: Fix driver registration

The driver should be registered with mxsfb_driver, not with mxsfb_devtype.
This caused obvious null pointer dereference and crash.

Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Huang Shijie <b32955@freescale.com>
Acked-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
drivers/video/mxsfb.c