w100fb platform device conversion fixup
PATCH 1/1 w100fb platform device conversion fixup
Fix an error in w100fb after the platform device conversion.
Signed-off-by Richard Purdie <[email protected]>
drivers/video/w100fb.c +1 -1
@@ -514,7 +514,7 @@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;