linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/4] Ensure that pmu_sys_suspended exists in appropriate configs.
@ 2008-03-11 23:48 Tony Breeds
  2008-03-11 23:48 ` [PATCH 4/4] Fix arch/powerpc/platforms/powermac/pic.c when !CONFIG_ADB_PMU Tony Breeds
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Tony Breeds @ 2008-03-11 23:48 UTC (permalink / raw)
  To: Paul Mackerras, linuxppc-dev; +Cc: Guido Guenther

pmu_sys_suspended is declared extern when:
	defined(CONFIG_PM_SLEEP) && defined(CONFIG_PPC32)
but only defined when:
	defined(CONFIG_SUSPEND) && defined(CONFIG_PPC32)
which is wrong.  Lets fix that.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
---
 include/linux/pmu.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/linux/pmu.h b/include/linux/pmu.h
index 4c5f653..b02b57c 100644
--- a/include/linux/pmu.h
+++ b/include/linux/pmu.h
@@ -192,7 +192,7 @@ extern unsigned int pmu_power_flags;
 extern void pmu_backlight_init(void);
 
 /* some code needs to know if the PMU was suspended for hibernation */
-#if defined(CONFIG_PM_SLEEP) && defined(CONFIG_PPC32)
+#if defined(CONFIG_SUSPEND) && defined(CONFIG_PPC32)
 extern int pmu_sys_suspended;
 #else
 /* if power management is not configured it can't be suspended */
-- 
1.5.4.3

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-03-13  8:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-11 23:48 [PATCH 1/4] Ensure that pmu_sys_suspended exists in appropriate configs Tony Breeds
2008-03-11 23:48 ` [PATCH 4/4] Fix arch/powerpc/platforms/powermac/pic.c when !CONFIG_ADB_PMU Tony Breeds
2008-03-11 23:48 ` [PATCH 3/4] Fix drivers/macintosh/mediabay.c " Tony Breeds
2008-03-11 23:48 ` [PATCH 2/4] Fix build of modular drivers/macintosh/apm_emu.c Tony Breeds
2008-03-12  8:38 ` [PATCH 1/4] Ensure that pmu_sys_suspended exists in appropriate configs Guido Günther
2008-03-12 21:20   ` Tony Breeds
2008-03-13  8:30     ` Guido Günther

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).