aboutsummaryrefslogtreecommitdiff
path: root/drivers/s390/cio/css.h
diff options
context:
space:
mode:
authorCornelia Huck <huckc@de.ibm.com>2006-01-11 10:56:22 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2006-01-13 11:26:11 -0800
commit8bbace7e686f1536905c703038a7eddfb1520264 (patch)
tree99253fd56bebd7903ac8dd05ee7c236c765e2798 /drivers/s390/cio/css.h
parent348290a4ae143a692124330942b464ccdb0d0365 (diff)
[PATCH] Add {css,ccw}_bus_type probe, remove, shutdown methods.
The following patch converts css_bus_type and ccw_bus_type to use the new bus_type methods. Signed-off-by: Cornelia Huck <huckc@de.ibm.com> CC: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/s390/cio/css.h')
-rw-r--r--drivers/s390/cio/css.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/s390/cio/css.h b/drivers/s390/cio/css.h
index 251ebd7a7d3..aa5ab5d4547 100644
--- a/drivers/s390/cio/css.h
+++ b/drivers/s390/cio/css.h
@@ -115,6 +115,7 @@ struct ccw_device_private {
* Currently, we only care about I/O subchannels (type 0), these
* have a ccw_device connected to them.
*/
+struct subchannel;
struct css_driver {
unsigned int subchannel_type;
struct device_driver drv;
@@ -122,6 +123,9 @@ struct css_driver {
int (*notify)(struct device *, int);
void (*verify)(struct device *);
void (*termination)(struct device *);
+ int (*probe)(struct subchannel *);
+ int (*remove)(struct subchannel *);
+ void (*shutdown)(struct subchannel *);
};
/*