diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-01-26 08:10:39 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-01-26 08:10:57 -0500 |
commit | 602b20f2bf335d0d5fce11cb2ade22aa74e7ba25 (patch) | |
tree | 2fdbeca6df1c7c5f1dad9c8f70c128c42a2621d5 /drivers/s390/cio/css.h | |
parent | 084325d80418adf4d75b10a9ceff1348f2e09163 (diff) |
[S390] cio: css_driver: Use consistent parameters.
Make all callbacks in css_driver take a struct subchannel (and not
a struct device).
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/css.h')
-rw-r--r-- | drivers/s390/cio/css.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/s390/cio/css.h b/drivers/s390/cio/css.h index 1d8306cc74c4..32acd24a407c 100644 --- a/drivers/s390/cio/css.h +++ b/drivers/s390/cio/css.h | |||
@@ -125,10 +125,10 @@ struct subchannel; | |||
125 | struct css_driver { | 125 | struct css_driver { |
126 | unsigned int subchannel_type; | 126 | unsigned int subchannel_type; |
127 | struct device_driver drv; | 127 | struct device_driver drv; |
128 | void (*irq)(struct device *); | 128 | void (*irq)(struct subchannel *); |
129 | int (*notify)(struct device *, int); | 129 | int (*notify)(struct subchannel *, int); |
130 | void (*verify)(struct device *); | 130 | void (*verify)(struct subchannel *); |
131 | void (*termination)(struct device *); | 131 | void (*termination)(struct subchannel *); |
132 | int (*probe)(struct subchannel *); | 132 | int (*probe)(struct subchannel *); |
133 | int (*remove)(struct subchannel *); | 133 | int (*remove)(struct subchannel *); |
134 | void (*shutdown)(struct subchannel *); | 134 | void (*shutdown)(struct subchannel *); |