summaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2006-05-01 13:58:33 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-21 12:40:48 -0700
commit05967118a6c354eaa5950429c70ad4c8daca94bf (patch)
tree000b297e0c8b673915389743587ef1a7218b8655 /drivers/base
parentb7fe4a60f3a5a428832bf5dd9388e80f0d02fc2e (diff)
downloadop-kernel-dev-05967118a6c354eaa5950429c70ad4c8daca94bf.zip
op-kernel-dev-05967118a6c354eaa5950429c70ad4c8daca94bf.tar.gz
[PATCH] Driver Core: CONFIG_DEBUG_PM covers drivers/base/power too
The drivers/base/power PM debug messages should appear when either PM or driver model debug are enabled. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/power/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/base/power/Makefile b/drivers/base/power/Makefile
index c0219ad..ceeeba2 100644
--- a/drivers/base/power/Makefile
+++ b/drivers/base/power/Makefile
@@ -4,3 +4,6 @@ obj-$(CONFIG_PM) += main.o suspend.o resume.o runtime.o sysfs.o
ifeq ($(CONFIG_DEBUG_DRIVER),y)
EXTRA_CFLAGS += -DDEBUG
endif
+ifeq ($(CONFIG_PM_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif
OpenPOWER on IntegriCloud