diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2005-11-13 19:06:38 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-13 21:14:11 -0500 |
commit | afdd3b3c8ee63c662bafc9194c182610b254c59b (patch) | |
tree | 727bdffb6e06ac0af28219d78c6f5e0a020962e9 /drivers/video/w100fb.c | |
parent | ae7642bb05623988d8ca82b332dad1ed7bdb8ceb (diff) |
[PATCH] w100fb: platform device conversion fixup
Fix an error in w100fb after the platform device conversion.
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/video/w100fb.c')
-rw-r--r-- | drivers/video/w100fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/w100fb.c b/drivers/video/w100fb.c index daa46051f55d..f6e24ee85f07 100644 --- a/drivers/video/w100fb.c +++ b/drivers/video/w100fb.c | |||
@@ -514,7 +514,7 @@ int __init w100fb_probe(struct platform_device *pdev) | |||
514 | if (remapped_fbuf == NULL) | 514 | if (remapped_fbuf == NULL) |
515 | goto out; | 515 | goto out; |
516 | 516 | ||
517 | info=framebuffer_alloc(sizeof(struct w100fb_par), dev); | 517 | info=framebuffer_alloc(sizeof(struct w100fb_par), &pdev->dev); |
518 | if (!info) { | 518 | if (!info) { |
519 | err = -ENOMEM; | 519 | err = -ENOMEM; |
520 | goto out; | 520 | goto out; |