summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorWolfram Sang <wsa@kernel.org>2023-09-19 17:56:46 +0300
committerWolfram Sang <wsa@kernel.org>2023-09-19 17:56:46 +0300
commitc1ac8903f31f483089ef30546ed27a95d2a2fa35 (patch)
treef4998939cb541c308621c77c576732b6993176f8 /include/linux
parent7890fce6201aed46d3576e3d641f9ee5c1f0e16f (diff)
parent510f276df2b91efd73f6c53be62b7e692ff533c1 (diff)
downloadlinux-c1ac8903f31f483089ef30546ed27a95d2a2fa35.tar.xz
Merge tag 'ib-mfd-i2c-reboot-v6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd into i2c/for-mergewindow
Immutable branch between MFD, I2C and Reboot due for the v6.7 merge window
Diffstat (limited to 'include/linux')
-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 *