diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2008-04-29 00:33:48 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-04-29 09:22:14 +0200 |
commit | 1bd17e63a068db6f464925a79b1cc4b27a8b1af9 (patch) | |
tree | c5d3b714c8bfeaa05ee42933d9faa1eed0381691 /drivers/pnp/pnpbios/Makefile | |
parent | drivers: fix integer as NULL pointer warnings (diff) | |
download | linux-1bd17e63a068db6f464925a79b1cc4b27a8b1af9.tar.xz linux-1bd17e63a068db6f464925a79b1cc4b27a8b1af9.zip |
PNP: turn on -DDEBUG when CONFIG_PNP_DEBUG is set
Turn on -DDEBUG in CFLAGS when CONFIG_PNP_DEBUG=y. This makes
dev_dbg() do what you expect.
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-by: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/pnp/pnpbios/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pnp/pnpbios/Makefile b/drivers/pnp/pnpbios/Makefile index 3cd3ed760605..310e2b3a7710 100644 --- a/drivers/pnp/pnpbios/Makefile +++ b/drivers/pnp/pnpbios/Makefile @@ -5,3 +5,7 @@ pnpbios-proc-$(CONFIG_PNPBIOS_PROC_FS) = proc.o obj-y := core.o bioscalls.o rsparser.o $(pnpbios-proc-y) + +ifeq ($(CONFIG_PNP_DEBUG),y) +EXTRA_CFLAGS += -DDEBUG +endif |