diff options
author | Cornelia Huck <huckc@de.ibm.com> | 2006-01-11 10:56:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-13 11:26:11 -0800 |
commit | 8bbace7e686f1536905c703038a7eddfb1520264 (patch) | |
tree | 99253fd56bebd7903ac8dd05ee7c236c765e2798 /drivers/s390/cio/css.h | |
parent | 348290a4ae143a692124330942b464ccdb0d0365 (diff) | |
download | op-kernel-dev-8bbace7e686f1536905c703038a7eddfb1520264.zip op-kernel-dev-8bbace7e686f1536905c703038a7eddfb1520264.tar.gz |
[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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/s390/cio/css.h b/drivers/s390/cio/css.h index 251ebd7..aa5ab5d 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 *); }; /* |