Message ID | 80cfeb81c3b4bae96f8ade317a08566c87493578.1298980528.git.mcuelenaere@gmail.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
diff --git a/drivers/video/jz4740_fb.c b/drivers/video/jz4740_fb.c index 65741d0..cea7b7e 100644 --- a/drivers/video/jz4740_fb.c +++ b/drivers/video/jz4740_fb.c @@ -654,6 +654,7 @@ static int __devinit jzfb_probe(struct platform_device *pdev) fb->flags = FBINFO_DEFAULT; jzfb = fb->par; + jzfb->fb = fb; jzfb->pdev = pdev; jzfb->pdata = pdata; jzfb->mem = mem; @@ -722,8 +723,6 @@ static int __devinit jzfb_probe(struct platform_device *pdev) goto err_free_devmem; } - jzfb->fb = fb; - return 0; err_free_devmem: