[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080912164629.GA5094@kroah.com>
Date: Fri, 12 Sep 2008 09:46:29 -0700
From: Greg KH <greg@...ah.com>
To: Janne Grunau <j@...nau.net>
Cc: Andi Kleen <andi@...stfloor.org>,
Jarod Wilson <jwilson@...hat.com>,
linux-kernel@...r.kernel.org, Jarod Wilson <jarod@...hat.com>,
Christoph Bartelmus <lirc@...telmus.de>,
Mario Limonciello <superm1@...ntu.com>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists