1
linux/arch/powerpc/platforms
Rafael J. Wysocki 95d9ffbe01 PM: Move definition of struct pm_ops to suspend.h
Move the definition of 'struct pm_ops' and related functions from <linux/pm.h>
to <linux/suspend.h> .

There are, at least, the following reasons to do that:
* 'struct pm_ops' is specifically related to suspend and not to the power
  management in general.
* As long as 'struct pm_ops' is defined in <linux/pm.h>, any modification of it
  causes the entire kernel to be recompiled, which is unnecessary and annoying.
* Some suspend-related features are already defined in <linux/suspend.h>, so it
  is logical to move the definition of 'struct pm_ops' into there.
* 'struct hibernation_ops', being the hibernation-related counterpart of
  'struct pm_ops', is defined in <linux/suspend.h> .

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: Len Brown <lenb@kernel.org>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-10-18 14:37:18 -07:00
..
8xx
40x [POWERPC] 4xx: Add AMCC Kilauea eval board support to platforms/40x 2007-10-11 15:01:50 -05:00
44x Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2007-10-11 21:55:47 -07:00
52xx PM: Move definition of struct pm_ops to suspend.h 2007-10-18 14:37:18 -07:00
82xx
83xx
85xx [POWERPC] 85xx: Killed <asm/mpc85xx.h> 2007-10-11 09:14:31 -05:00
86xx
cell Slab API: remove useless ctor parameter and reorder parameters 2007-10-17 08:42:45 -07:00
celleb [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
chrp [POWERPC] Platforms shouldn't mess with ROOT_DEV 2007-10-11 20:40:43 +10:00
embedded6xx
iseries [POWERPC] Fix iSeries_hpte_insert prototype 2007-10-17 22:30:08 +10:00
maple
pasemi pcmcia: CompactFlash driver for PA Semi Electra boards 2007-10-17 08:42:48 -07:00
powermac Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq 2007-10-12 15:42:01 -07:00
prep
ps3 PS3: sg chaining support 2007-10-16 11:27:31 +02:00
pseries [POWERPC] Use 1TB segments 2007-10-12 14:05:17 +10:00
fsl_uli1575.c
Kconfig Merge branch 'for-2.6.24' of git://git.secretlab.ca/git/linux-2.6-mpc52xx into merge 2007-10-17 22:31:13 +10:00
Kconfig.cputype [POWERPC] rheap: Changes config mechanism 2007-10-16 17:09:21 -06:00
Makefile