Commit 1039edc9 authored by Krzysztof Helt's avatar Krzysztof Helt Committed by Linus Torvalds

mbxfb: fix incorrect argument type

Fix wrong pointer type passed into the dev_dbg() function.
Signed-off-by: default avatarKrzysztof Helt <krzysztof.h1@wp.pl>
Acked-by: default avatarMike Rapoport <mike@compulab.co.il>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent f7009264
...@@ -889,7 +889,7 @@ static int __devinit mbxfb_probe(struct platform_device *dev) ...@@ -889,7 +889,7 @@ static int __devinit mbxfb_probe(struct platform_device *dev)
struct mbxfb_info *mfbi; struct mbxfb_info *mfbi;
struct mbxfb_platform_data *pdata; struct mbxfb_platform_data *pdata;
dev_dbg(dev, "mbxfb_probe\n"); dev_dbg(&dev->dev, "mbxfb_probe\n");
pdata = dev->dev.platform_data; pdata = dev->dev.platform_data;
if (!pdata) { if (!pdata) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment