notifier: Fix broken error handling pattern
[sfrench/cifs-2.6.git] / kernel / power / power.h
index 32fc89ac96c30fb7bbbdfa692b4c59fec76f9929..24f12d534515f42e0e8a35faa66b7e3fbeade00b 100644 (file)
@@ -210,8 +210,7 @@ static inline void suspend_test_finish(const char *label) {}
 
 #ifdef CONFIG_PM_SLEEP
 /* kernel/power/main.c */
-extern int __pm_notifier_call_chain(unsigned long val, int nr_to_call,
-                                   int *nr_calls);
+extern int pm_notifier_call_chain_robust(unsigned long val_up, unsigned long val_down);
 extern int pm_notifier_call_chain(unsigned long val);
 #endif