From: Richard Purdie Date: Mon, 14 Nov 2005 00:06:38 +0000 (-0800) Subject: [PATCH] w100fb: platform device conversion fixup X-Git-Tag: v2.6.15-rc2~196 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afdd3b3c8ee63c662bafc9194c182610b254c59b;p=linux-2.6 [PATCH] w100fb: platform device conversion fixup Fix an error in w100fb after the platform device conversion. Signed-off-by: Richard Purdie Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/video/w100fb.c b/drivers/video/w100fb.c index daa46051f5..f6e24ee85f 100644 --- a/drivers/video/w100fb.c +++ b/drivers/video/w100fb.c @@ -514,7 +514,7 @@ int __init w100fb_probe(struct platform_device *pdev) 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;