Re: [PATCH 01/18] lirc core device driver infrastructure

From: Greg KH
Date: Fri Sep 12 2008 - 15:09:27 EST


On Tue, Sep 09, 2008 at 03:20:35PM +0200, Janne Grunau wrote:
> On Tuesday 09 September 2008 15:03:11 Andi Kleen wrote:
> > > pr_printk is not found in include/ nor by google. please explain
> >
> > pr_debug() sorry.
>
> pr_debug() does something else. that dprintk macro prints depending on a
> module parameter

pr_debug() is what you want, 2.6.28 will turn it into a dynamic option
to turn on and off at a per-module level.

Actually you should be using dev_dbg() instead, that's much better and
will also work the same way on a per-module level.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/