diff options
author | Cornelia Huck | 2007-10-12 16:11:21 +0200 |
---|---|---|
committer | Martin Schwidefsky | 2007-10-12 16:13:01 +0200 |
commit | 958974fb596ad037fb571cf2899f783764a83e1a (patch) | |
tree | d3564986786ef55ee3ee5629dfa46901efa3f09b /include/asm-s390/ccwdev.h | |
parent | a55360df406cca797ac07d722688dd7ec29bf46e (diff) |
[S390] cio: Introduce ccw_bus_type.shutdown.
Introduce a shutdown method for the ccw bus that calls the driver
specific shutdown method in struct ccw_driver.
Switch zfcp to the new ccw_driver shutdown method.
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/ccwdev.h')
-rw-r--r-- | include/asm-s390/ccwdev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-s390/ccwdev.h b/include/asm-s390/ccwdev.h index 8e961aa4b394..066aa70518ce 100644 --- a/include/asm-s390/ccwdev.h +++ b/include/asm-s390/ccwdev.h @@ -102,6 +102,7 @@ struct ccw_device { * @set_online: called when setting device online * @set_offline: called when setting device offline * @notify: notify driver of device state changes + * @shutdown: called at device shutdown * @driver: embedded device driver structure * @name: device driver name */ @@ -113,6 +114,7 @@ struct ccw_driver { int (*set_online) (struct ccw_device *); int (*set_offline) (struct ccw_device *); int (*notify) (struct ccw_device *, int); + void (*shutdown) (struct ccw_device *); struct device_driver driver; char *name; }; |