[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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
348290a4ae
commit
8bbace7e68
@@ -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 *);
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user