Subject: pm-introduce-hibernation-and-suspend-notifiers-tidy 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(-) Index: linux-2.6.22/include/linux/suspend.h =================================================================== --- linux-2.6.22.orig/include/linux/suspend.h +++ linux-2.6.22/include/linux/suspend.h @@ -109,11 +109,13 @@ static inline int unregister_pm_notifier register_pm_notifier(&fn##_nb); \ } #else /* CONFIG_PM */ -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; }