Messages in this thread | | | Date | Fri, 12 Sep 2008 09:46:29 -0700 | From | Greg KH <> | Subject | Re: [PATCH 01/18] lirc core device driver infrastructure |
| |
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
| |