android_kernel_xiaomi_sm7250/arch/arm/common
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
..
dmabounce.c [ARM] Rename consistent_sync() as dma_cache_maint() 2007-10-12 23:43:45 +01:00
gic.c [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
icst307.c [ARM] Off-by-one in arch/arm/common/icst* 2006-09-27 23:17:54 +01:00
icst525.c [ARM] Off-by-one in arch/arm/common/icst* 2006-09-27 23:17:54 +01:00
it8152.c [ARM] 4577/1: ITE 8152 PCI bridge support 2007-10-15 18:53:59 +01:00
Kconfig [ARM] 4251/1: Fix sharpsl_pm dependency 2007-03-08 13:34:02 +00:00
locomo.c PM: do not use saved_state from struct dev_pm_info on ARM 2007-07-11 16:09:02 -07:00
Makefile [ARM] 4577/1: ITE 8152 PCI bridge support 2007-10-15 18:53:59 +01:00
rtctime.c [PATCH] mark struct file_operations const 2 2007-02-12 09:48:44 -08:00
sa1111.c PM: do not use saved_state from struct dev_pm_info on ARM 2007-07-11 16:09:02 -07:00
scoop.c [ARM] 3478/1: SharpSL SCOOP: Fix potenial build failure 2006-04-18 23:18:53 +01:00
sharpsl_param.c [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
sharpsl_pm.c PM: Move definition of struct pm_ops to suspend.h 2007-10-18 14:37:18 -07:00
time-acorn.c Initial blind fixup for arm for irq changes 2006-10-06 10:59:54 -07:00
uengine.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
via82c505.c [ARM] Remove needless linux/ptrace.h includes 2007-04-21 20:34:47 +01:00
vic.c [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00