linux/arch/blackfin
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
..
boot Blackfin arch: extract the entry point from the linked kernel 2007-07-12 14:26:26 +08:00
configs Blackfin arch: Board defconfig updating 2007-10-11 00:03:39 +08:00
kernel Consolidate PTRACE_DETACH 2007-10-16 09:42:49 -07:00
lib Blackfin arch: revise anomaly handling by basing things on the compiler not the kconfig defines 2007-07-25 11:19:14 +08:00
mach-bf533 Merge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq 2007-10-12 15:42:01 -07:00
mach-bf537 USB: re-remove <linux/usb_sl811.h> 2007-10-12 14:55:31 -07:00
mach-bf548 Input: add support for Blackfin BF54x Keypad controller 2007-10-13 00:36:46 -04:00
mach-bf561 Blackfin arch: Print out debug info, as early as possible 2007-10-09 17:31:46 +08:00
mach-common PM: Move definition of struct pm_ops to suspend.h 2007-10-18 14:37:18 -07:00
mm Blackfin arch: show_mem can not be marked as init, since it is called during OOM condition 2007-10-10 17:25:15 +08:00
oprofile Blackfin arch: use the [CS]SYNC() macros which include anomaly workarounds rather than __builtin_bfin_[cs]sync() 2007-07-25 11:57:42 +08:00
Kconfig kconfig: syntax cleanup - drop support for "depends/requires/def_boolean" 2007-10-12 21:20:32 +02:00
Makefile kbuild: enable 'make AFLAGS=...' to add additional options to AS 2007-10-15 21:59:31 +02:00