mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-22 13:54:57 +08:00
ac8b4d3ed1
Add missing types.h include to make the suspend header self-contained and avoid compilation breakage due to include-directive ordering. Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
16 lines
293 B
C
16 lines
293 B
C
#ifndef __ASM_ARM_SUSPEND_H
|
|
#define __ASM_ARM_SUSPEND_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct sleep_save_sp {
|
|
u32 *save_ptr_stash;
|
|
u32 save_ptr_stash_phys;
|
|
};
|
|
|
|
extern void cpu_resume(void);
|
|
extern void cpu_resume_arm(void);
|
|
extern int cpu_suspend(unsigned long, int (*)(unsigned long));
|
|
|
|
#endif
|