From: Mike <mi...@co...> - 2007-10-22 08:44:55
|
Krzysztof Helt wrote: > From: Krzysztof Helt <krz...@wp...> > > This patch fixes wrong pointer type passed into > the dev_dbg() function. > > Signed-off-by: Krzysztof Helt <krz...@wp...> Acked-by: Mike Rapoport <mi...@co...> > This patch was done against the 2.6.23-git13 kernel. > > diff -urp linux-ref/drivers/video/mbx/mbxfb.c linux-new/drivers/video/mbx/mbxfb.c > --- linux-ref/drivers/video/mbx/mbxfb.c 2007-10-18 22:32:50.984989900 +0200 > +++ linux-new/drivers/video/mbx/mbxfb.c 2007-10-18 23:38:03.775967147 +0200 > @@ -889,7 +889,7 @@ static int __devinit mbxfb_probe(struct > struct mbxfb_info *mfbi; > struct mbxfb_platform_data *pdata; > > - dev_dbg(dev, "mbxfb_probe\n"); > + dev_dbg(&dev->dev, "mbxfb_probe\n"); > > pdata = dev->dev.platform_data; > if (!pdata) { > |