diff options
-rw-r--r-- | include/linux/reboot.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/reboot.h b/include/linux/reboot.h index 0ca25413ad2d..ecbf7b56b9db 100644 --- a/include/linux/reboot.h +++ b/include/linux/reboot.h @@ -5,6 +5,8 @@ #include <linux/notifier.h> #include <uapi/linux/reboot.h> +struct device; + #define SYS_DOWN 0x0001 /* Notify of system down */ #define SYS_RESTART SYS_DOWN #define SYS_HALT 0x0002 /* Notify of system halt */ @@ -38,7 +40,6 @@ extern int reboot_force; extern int register_reboot_notifier(struct notifier_block *); extern int unregister_reboot_notifier(struct notifier_block *); -struct device; extern int devm_register_reboot_notifier(struct device *, struct notifier_block *); extern int register_restart_handler(struct notifier_block *); |