Commit afdd3b3c authored by Richard Purdie's avatar Richard Purdie Committed by Linus Torvalds

[PATCH] w100fb: platform device conversion fixup

Fix an error in w100fb after the platform device conversion.
Signed-off-by: default avatarRichard Purdie <rpurdie@rpsys.net>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent ae7642bb
...@@ -514,7 +514,7 @@ int __init w100fb_probe(struct platform_device *pdev) ...@@ -514,7 +514,7 @@ int __init w100fb_probe(struct platform_device *pdev)
if (remapped_fbuf == NULL) if (remapped_fbuf == NULL)
goto out; goto out;
info=framebuffer_alloc(sizeof(struct w100fb_par), dev); info=framebuffer_alloc(sizeof(struct w100fb_par), &pdev->dev);
if (!info) { if (!info) {
err = -ENOMEM; err = -ENOMEM;
goto out; goto out;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment