android_kernel_xiaomi_sm8350/arch/blackfin/mach-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
..
arch_checks.c Blackfin arch: to do some consolidation of common code and common name spaces 2007-10-10 23:55:26 +08:00
cache.S
cacheinit.S Blackfin arch: to do some consolidation of common code and common name spaces 2007-10-10 23:55:26 +08:00
cplbhdlr.S Blackfin arch: to do some consolidation of common code and common name spaces 2007-10-10 23:55:26 +08:00
cplbinfo.c
cplbmgr.S Blackfin arch: to do some consolidation of common code and common name spaces 2007-10-10 23:55:26 +08:00
dpmc.S Blackfin arch: Fix CCLK and SCLK checks 2007-08-03 18:07:17 +08:00
entry.S Blackfin arch: the load address is not safe to point to as a workaround for ANOMALY 05000281 2007-10-10 17:28:27 +08:00
interrupt.S Blackfin arch: allow people to select the feature that is unavailable to the kernel 2007-08-05 17:03:59 +08:00
ints-priority-dc.c Blackfin arch: allow people to select the feature that is unavailable to the kernel 2007-08-05 17:03:59 +08:00
ints-priority-sc.c Blackfin arch: allow people to select the feature that is unavailable to the kernel 2007-08-05 17:03:59 +08:00
irqpanic.c
lock.S Blackfin arch: to do some consolidation of common code and common name spaces 2007-10-10 23:55:26 +08:00
Makefile Blackfin arch: Fix CCLK and SCLK checks 2007-08-03 18:07:17 +08:00
pm.c PM: Move definition of struct pm_ops to suspend.h 2007-10-18 14:37:18 -07:00