Merge tag 'rtc-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux
[linux-block.git] / include / linux / reboot.h
index 2b6bb593be5b655b3251506841b227813525454c..c4cc3b89ced1fbed2cfc903cde2ceb2a5e5ff9cb 100644 (file)
@@ -129,11 +129,14 @@ enum sys_off_mode {
  * @cb_data: User's callback data.
  * @cmd: Command string. Currently used only by the sys-off restart mode,
  *       NULL otherwise.
+ * @dev: Device of the sys-off handler. Only if known (devm_register_*),
+ *       NULL otherwise.
  */
 struct sys_off_data {
        int mode;
        void *cb_data;
        const char *cmd;
+       struct device *dev;
 };
 
 struct sys_off_handler *