1 #ifndef __REBOOT_MODE_H__
2 #define __REBOOT_MODE_H__
4 struct reboot_mode_driver
{
7 int (*write
)(struct reboot_mode_driver
*reboot
, unsigned int magic
);
8 struct notifier_block reboot_notifier
;
11 int reboot_mode_register(struct reboot_mode_driver
*reboot
);
12 int reboot_mode_unregister(struct reboot_mode_driver
*reboot
);
13 int devm_reboot_mode_register(struct device
*dev
,
14 struct reboot_mode_driver
*reboot
);
15 void devm_reboot_mode_unregister(struct device
*dev
,
16 struct reboot_mode_driver
*reboot
);