PNP: add CONFIG_PNP_DEBUG_MESSAGES and pnp_dbg()
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 19 Aug 2008 22:53:41 +0000 (16:53 -0600)
committerLen Brown <len.brown@intel.com>
Sat, 11 Oct 2008 03:33:53 +0000 (23:33 -0400)
commit97ef062bbe08f46903f29ecdf432be302c977f3b
treee09e9a171ac2d3c79db945ee95145f17cdce82df
parent2663f60d434139298835af690f4891cec5c1e501
PNP: add CONFIG_PNP_DEBUG_MESSAGES and pnp_dbg()

This adds the core function pnp_dbg() and a new config option to
enable it.

The PNP core debugging messages can be enabled at boot-time with the
"pnp.debug" kernel parameter.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Documentation/kernel-parameters.txt
drivers/pnp/Kconfig
drivers/pnp/base.h
drivers/pnp/core.c