aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2007-10-12 10:11:21 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2007-10-12 10:13:01 -0400
commit958974fb596ad037fb571cf2899f783764a83e1a (patch)
treed3564986786ef55ee3ee5629dfa46901efa3f09b /include/asm-s390
parenta55360df406cca797ac07d722688dd7ec29bf46e (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')
-rw-r--r--include/asm-s390/ccwdev.h2
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 {
102 * @set_online: called when setting device online 102 * @set_online: called when setting device online
103 * @set_offline: called when setting device offline 103 * @set_offline: called when setting device offline
104 * @notify: notify driver of device state changes 104 * @notify: notify driver of device state changes
105 * @shutdown: called at device shutdown
105 * @driver: embedded device driver structure 106 * @driver: embedded device driver structure
106 * @name: device driver name 107 * @name: device driver name
107 */ 108 */
@@ -113,6 +114,7 @@ struct ccw_driver {
113 int (*set_online) (struct ccw_device *); 114 int (*set_online) (struct ccw_device *);
114 int (*set_offline) (struct ccw_device *); 115 int (*set_offline) (struct ccw_device *);
115 int (*notify) (struct ccw_device *, int); 116 int (*notify) (struct ccw_device *, int);
117 void (*shutdown) (struct ccw_device *);
116 struct device_driver driver; 118 struct device_driver driver;
117 char *name; 119 char *name;
118}; 120};