From: David Brownell Date: Mon, 1 May 2006 20:58:33 +0000 (-0700) Subject: [PATCH] Driver Core: CONFIG_DEBUG_PM covers drivers/base/power too X-Git-Tag: v2.6.18-rc1~858^2~127 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05967118a6c354eaa5950429c70ad4c8daca94bf;p=linux-2.6 [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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/base/power/Makefile b/drivers/base/power/Makefile index c0219ad94a..ceeeba2c56 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