diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-02-05 16:50:36 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-02-05 16:50:54 +0100 |
commit | 01bc8ad165490458a8feb744c8f401c1a7098e3a (patch) | |
tree | 2bb41b3144a74cbe85c7c563ac7ef887e1cfaffb /include/asm-s390/ccwgroup.h | |
parent | 2fffc9355e6240466d1af764b0dcdede52085f7c (diff) |
[S390] cio: Add shutdown callback for ccwgroup.
This intendeds to make proper shutdown of qeth devices easier.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'include/asm-s390/ccwgroup.h')
-rw-r--r-- | include/asm-s390/ccwgroup.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-s390/ccwgroup.h b/include/asm-s390/ccwgroup.h index 7109c7cab87..289053ef5e6 100644 --- a/include/asm-s390/ccwgroup.h +++ b/include/asm-s390/ccwgroup.h @@ -37,6 +37,7 @@ struct ccwgroup_device { * @remove: function called on remove * @set_online: function called when device is set online * @set_offline: function called when device is set offline + * @shutdown: function called when device is shut down * @driver: embedded driver structure */ struct ccwgroup_driver { @@ -49,6 +50,7 @@ struct ccwgroup_driver { void (*remove) (struct ccwgroup_device *); int (*set_online) (struct ccwgroup_device *); int (*set_offline) (struct ccwgroup_device *); + void (*shutdown)(struct ccwgroup_device *); struct device_driver driver; }; |