android_kernel_xiaomi_sm7250/arch/arm/mach-pnx4008
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
..
clock.c [WATCHDOG] pnx4008: add watchdog support 2006-10-02 23:02:37 +02:00
clock.h [ARM] 3466/1: [2/3] Support for Philips PNX4008 platform: chip support 2006-06-18 16:16:55 +01:00
core.c [ARM] 3857/2: pnx4008: add devices' registration 2006-11-09 15:38:44 +00:00
dma.c [ARM] Spinlock initializer cleanup 2007-05-11 17:38:04 +01:00
gpio.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
i2c.c i2c: New Philips PNX bus driver 2006-12-10 21:21:29 +01:00
irq.c [ARM] Remove compatibility layer for ARM irqs 2006-11-30 12:24:47 +00:00
Makefile i2c: New Philips PNX bus driver 2006-12-10 21:21:29 +01:00
Makefile.boot [ARM] 3466/1: [2/3] Support for Philips PNX4008 platform: chip support 2006-06-18 16:16:55 +01:00
pm.c PM: Move definition of struct pm_ops to suspend.h 2007-10-18 14:37:18 -07:00
serial.c [ARM] 3623/1: pnx4008: move GPIO-related defines to gpio.h 2006-06-22 10:26:21 +01:00
sleep.S Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
time.c Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00