Re: How to enable dev_dbg messaging

From: Akinobu Mita
Date: Fri Jun 29 2007 - 23:46:21 EST


On Fri, Jun 29, 2007 at 10:29:33PM -0500, Jay Cliburn wrote:
> How do I turn on dev_dbg messaging in the kernel? I can get
> printk(KERN_DEBUG ...) to work just fine, but I don't know how to
> enable dev_dbg.

Defining DEBUG before including <linux/device.h> enables dev_dbg to work.

-
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/