lkml.org 
[lkml]   [2008]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-09-12 21:11    [W:0.151 / U:0.752 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site