diff options
author | Bjorn Helgaas <bjorn.helgaas@hp.com> | 2005-09-06 18:17:05 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-09-07 19:57:25 -0400 |
commit | e139aa595c5d3bd01699530cbe017dec75fdb07f (patch) | |
tree | 03d4552ed05450b49269c2b2d437bb069c603eba /drivers/pnp/card.c | |
parent | 486d46aefe7ded0d343e306be740edd972aff740 (diff) |
[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>
Diffstat (limited to 'drivers/pnp/card.c')
-rw-r--r-- | drivers/pnp/card.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/pnp/card.c b/drivers/pnp/card.c index 6e5229e92fbc..e95ed67d4f05 100644 --- a/drivers/pnp/card.c +++ b/drivers/pnp/card.c | |||
@@ -8,13 +8,6 @@ | |||
8 | #include <linux/config.h> | 8 | #include <linux/config.h> |
9 | #include <linux/module.h> | 9 | #include <linux/module.h> |
10 | #include <linux/slab.h> | 10 | #include <linux/slab.h> |
11 | |||
12 | #ifdef CONFIG_PNP_DEBUG | ||
13 | #define DEBUG | ||
14 | #else | ||
15 | #undef DEBUG | ||
16 | #endif | ||
17 | |||
18 | #include <linux/pnp.h> | 11 | #include <linux/pnp.h> |
19 | #include "base.h" | 12 | #include "base.h" |
20 | 13 | ||