[patch] w100fb platform device conversion fixup

From: Richard Purdie
Date: Sat Nov 12 2005 - 18:03:17 EST


Fix an error in w100fb after the platform device conversion.

Signed-off-by: Richard Purdie <rpurdie@xxxxxxxxx>

Index: linux-2.6.14/drivers/video/w100fb.c
===================================================================
--- linux-2.6.14.orig/drivers/video/w100fb.c 2005-11-12 12:54:42.000000000 +0000
+++ linux-2.6.14/drivers/video/w100fb.c 2005-11-12 22:48:27.000000000 +0000
@@ -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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/