aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLee Jones <lee@kernel.org>2023-11-01 10:00:28 +0000
committerLee Jones <lee@kernel.org>2023-11-01 10:00:28 +0000
commit55bb1a507fe3940fb2db99077d9e31046ad52247 (patch)
treefa6c6db47f01ed25bfcfb173672b9d4b687b108a /include
parent0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff)
parent510f276df2b91efd73f6c53be62b7e692ff533c1 (diff)
Merge tag 'ib-mfd-i2c-reboot-v6.7' into ibs-for-mfd-merged
Immutable branch between MFD, I2C and Reboot due for the v6.7 merge window
Diffstat (limited to 'include')
-rw-r--r--include/linux/reboot.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/reboot.h b/include/linux/reboot.h
index 2b6bb593be5b..c4cc3b89ced1 100644
--- a/include/linux/reboot.h
+++ b/include/linux/reboot.h
@@ -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 *