[PATCH] PNP: make pnp_dbg conditional directly on CONFIG_PNP_DEBUG
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Tue, 6 Sep 2005 22:17:05 +0000 (15:17 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:25 +0000 (16:57 -0700)
commite139aa595c5d3bd01699530cbe017dec75fdb07f
tree03d4552ed05450b49269c2b2d437bb069c603eba
parent486d46aefe7ded0d343e306be740edd972aff740
[PATCH] PNP: make pnp_dbg conditional directly on CONFIG_PNP_DEBUG

Seems pointless to require .c files to test CONFIG_PNP_DEBUG and
conditionally define DEBUG before including <linux/pnp.h>.  Just test
CONFIG_PNP_DEBUG directly in pnp.h.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Adam Belay <ambx1@neo.rr.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pnp/card.c
drivers/pnp/driver.c
drivers/pnp/manager.c
drivers/pnp/pnpacpi/core.c
drivers/pnp/quirks.c
drivers/pnp/support.c
include/linux/pnp.h