diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2007-10-17 10:31:10 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 19:43:04 +0400 |
commit | a05d0781695566296e74a3670dd5bbd3daf24ae2 (patch) | |
tree | 56a474e1011187cd1cdee542dcfa253d64e4a53c /drivers/pnp/Makefile | |
parent | 5bfc43a0b65a11ca1e9edfa0c2bd34ce43da0346 (diff) | |
download | linux-a05d0781695566296e74a3670dd5bbd3daf24ae2.tar.xz |
PNP: use dev_info(), dev_err(), etc in core
If we have the struct pnp_dev available, we can use dev_info(), dev_err(),
etc., to give a little more information and consistency.
[akpm@linux-foundation.org: fix warning]
Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Cc: Adam Belay <ambx1@neo.rr.com>
Cc: Len Brown <lenb@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pnp/Makefile')
-rw-r--r-- | drivers/pnp/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/pnp/Makefile b/drivers/pnp/Makefile index a381a92fd1b6..26f5abc9c3f7 100644 --- a/drivers/pnp/Makefile +++ b/drivers/pnp/Makefile @@ -7,3 +7,7 @@ obj-y := core.o card.o driver.o resource.o manager.o support.o interface.o quir obj-$(CONFIG_PNPACPI) += pnpacpi/ obj-$(CONFIG_PNPBIOS) += pnpbios/ obj-$(CONFIG_ISAPNP) += isapnp/ + +ifeq ($(CONFIG_PNP_DEBUG),y) +EXTRA_CFLAGS += -DDEBUG +endif |