mbxfb: fix incorrect argument type

Fix wrong pointer type passed into the dev_dbg() function.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Acked-by: Mike Rapoport <mike@compulab.co.il>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Krzysztof Helt 2008-03-10 11:44:00 -07:00 committed by Linus Torvalds
parent f7009264c5
commit 1039edc98a

View file

@ -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) {