mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [patch] w100fb platform device conversion fixup
@ 2005-11-12 23:03 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2005-11-12 23:03 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Antonino A. Daplas, LKML

Fix an error in w100fb after the platform device conversion.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>

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;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-12 23:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-12 23:03 [patch] w100fb platform device conversion fixup Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome