Skip to content

Commit

Permalink
[PATCH] w100fb: platform device conversion fixup
Browse files Browse the repository at this point in the history
Fix an error in w100fb after the platform device conversion.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Richard Purdie authored and Linus Torvalds committed Nov 14, 2005
1 parent ae7642b commit afdd3b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/w100fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ int __init w100fb_probe(struct platform_device *pdev)
if (remapped_fbuf == NULL)
goto out;

info=framebuffer_alloc(sizeof(struct w100fb_par), dev);
info=framebuffer_alloc(sizeof(struct w100fb_par), &pdev->dev);
if (!info) {
err = -ENOMEM;
goto out;
Expand Down

0 comments on commit afdd3b3

Please sign in to comment.