mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-22 22:51:37 +00:00
[ACPI] ACPI poweroff fix
Register an "acpi" system device to be notified of shutdown preparation. This depends on CONFIG_PM http://bugzilla.kernel.org/show_bug.cgi?id=4041 Signed-off-by: Alexey Starikovskiy <alexey.y.starikovskiy@intel.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
be91492ca8
commit
e2a5b420f7
5 changed files with 107 additions and 53 deletions
|
@ -175,7 +175,7 @@ struct pm_ops {
|
|||
};
|
||||
|
||||
extern void pm_set_ops(struct pm_ops *);
|
||||
|
||||
extern struct pm_ops *pm_ops;
|
||||
extern int pm_suspend(suspend_state_t state);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue