Fix an error in w100fb after the platform device conversion.
Signed-off-by: Richard Purdie <[email protected]>
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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]