summaryrefslogtreecommitdiff
path: root/drivers/power/reset/reboot-mode.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/reset/reboot-mode.h')
-rw-r--r--drivers/power/reset/reboot-mode.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/power/reset/reboot-mode.h b/drivers/power/reset/reboot-mode.h
index 2491bb71f591..75f7fe5c881f 100644
--- a/drivers/power/reset/reboot-mode.h
+++ b/drivers/power/reset/reboot-mode.h
@@ -10,5 +10,9 @@ struct reboot_mode_driver {
int reboot_mode_register(struct reboot_mode_driver *reboot);
int reboot_mode_unregister(struct reboot_mode_driver *reboot);
+int devm_reboot_mode_register(struct device *dev,
+ struct reboot_mode_driver *reboot);
+void devm_reboot_mode_unregister(struct device *dev,
+ struct reboot_mode_driver *reboot);
#endif