From: Andrew Morton Cc: Nigel Cunningham Cc: Pavel Machek Cc: Rafael J. Wysocki Signed-off-by: Andrew Morton --- include/linux/suspend.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff -puN include/linux/suspend.h~pm-introduce-hibernation-and-suspend-notifiers-tidy include/linux/suspend.h --- a/include/linux/suspend.h~pm-introduce-hibernation-and-suspend-notifiers-tidy +++ a/include/linux/suspend.h @@ -116,11 +116,13 @@ static inline void register_nosave_regio { } -static inline int register_pm_notifier(struct notifier_block *nb) { +static inline int register_pm_notifier(struct notifier_block *nb) +{ return 0; } -static inline int unregister_pm_notifier(struct notifier_block *nb) { +static inline int unregister_pm_notifier(struct notifier_block *nb) +{ return 0; } _