android_kernel_xiaomi_sm8350/arch/powerpc/platforms/52xx
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
..
efika.c Merge branch 'for-2.6.24' of git://git.secretlab.ca/git/linux-2.6-mpc52xx into for-2.6.24 2007-10-12 08:40:13 +10:00
Kconfig [POWERPC] clk.h interface for platforms 2007-10-03 09:11:56 +10:00
lite5200_pm.c [POWERPC] MPC5200 low power mode 2007-09-19 15:25:34 +10:00
lite5200_sleep.S [POWERPC] MPC5200 low power mode 2007-09-19 15:25:34 +10:00
lite5200.c Lite5200 shouldn't mess with ROOT_DEV 2007-10-14 08:56:33 -07:00
Makefile [POWERPC] MPC5200 low power mode 2007-09-19 15:25:34 +10:00
mpc52xx_common.c [POWERPC] MPC5200: Don't make firmware fixups into common code 2007-10-10 10:22:04 -06:00
mpc52xx_pci.c [POWERPC] Merge ppc32 and ppc64 pcibios_alloc_controller() prototypes 2007-06-29 01:58:39 -05:00
mpc52xx_pic.c [POWERPC] MPC52xx: Trim includes on mpc5200 platform support code 2007-10-10 09:52:00 -06:00
mpc52xx_pic.h
mpc52xx_pm.c PM: Move definition of struct pm_ops to suspend.h 2007-10-18 14:37:18 -07:00
mpc52xx_sleep.S