Skip to contentSkip to conversation

w100fb platform device conversion fixup

PATCH New Richard Purdie 1 participant 1 message Nov 12, 2005 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 w100fb platform device conversion fixup

Fix an error in w100fb after the platform device conversion.

drivers/video/w100fb.c +1 -1
Index: linux-2.6.14/drivers/video/w100fb.c
===================================================================
@@ -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;