kernel-fxtec-pro1x/arch/arm/mach-at91
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
..
at91rm9200.c
at91rm9200_devices.c
at91rm9200_time.c [ARM] 4539/1: clocksource and clockevents for at91rm9200 2007-10-12 23:43:15 +01:00
at91sam9rl.c
at91sam9rl_devices.c
at91sam926x_time.c
at91sam9260.c
at91sam9260_devices.c
at91sam9261.c
at91sam9261_devices.c [ARM] 4542/1: AT91: include atmel_lcdc.h in at91sam926{1,3}_devices.c 2007-08-04 22:13:48 +01:00
at91sam9263.c
at91sam9263_devices.c [ARM] 4542/1: AT91: include atmel_lcdc.h in at91sam926{1,3}_devices.c 2007-08-04 22:13:48 +01:00
at91x40.c [ARM] 4534/1: AT91x40 interrupt support 2007-10-12 23:43:05 +01:00
at91x40_time.c [ARM] 4533/1: AT91x40 timer support 2007-10-12 23:43:04 +01:00
board-1arm.c
board-carmeva.c
board-csb337.c
board-csb637.c
board-dk.c
board-eb01.c [ARM] 4538/1: Atmel EB01 board support 2007-10-12 23:43:07 +01:00
board-eb9200.c
board-ek.c
board-kafa.c
board-kb9202.c
board-picotux200.c
board-sam9rlek.c
board-sam9260ek.c
board-sam9261ek.c
board-sam9263ek.c
clock.c
clock.h
generic.h [ARM] 4535/1: AT91x40 function prototypes 2007-10-12 23:43:06 +01:00
gpio.c
irq.c
Kconfig [ARM] 4539/1: clocksource and clockevents for at91rm9200 2007-10-12 23:43:15 +01:00
leds.c
Makefile [ARM] 4537/1: build support for AT91x40 and EB01 2007-10-12 23:43:09 +01:00
Makefile.boot
pm.c PM: Move definition of struct pm_ops to suspend.h 2007-10-18 14:37:18 -07:00