On 12/19/2011 03:37 PM, Marek Vasut wrote: > 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@xxxxxxxxx> > Cc: Wolfgang Denk <wd@xxxxxxx> > Cc: Stefano Babic <sbabic@xxxxxxx> > Cc: Shawn Guo <shawn.guo@xxxxxxxxxx> > Cc: Huang Shijie <b32955@xxxxxxxxxxxxx> > Cc: Axel Lin <axel.lin@xxxxxxxxx> > Cc: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> > Acked-by: Axel Lin <axel.lin@xxxxxxxxx> > Acked-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> Applied. Thanks, Florian Tobias Schandinat > --- > drivers/video/mxsfb.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/video/mxsfb.c b/drivers/video/mxsfb.c > index 18742c2..d29c7c0 100644 > --- a/drivers/video/mxsfb.c > +++ b/drivers/video/mxsfb.c > @@ -902,7 +902,7 @@ static struct platform_driver mxsfb_driver = { > }, > }; > > -module_platform_driver(mxsfb_devtype); > +module_platform_driver(mxsfb_driver); > > MODULE_DESCRIPTION("Freescale mxs framebuffer driver"); > MODULE_AUTHOR("Sascha Hauer, Pengutronix"); -- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html