aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/css.c
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2008-01-26 08:10:39 -0500
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2008-01-26 08:10:57 -0500
commit602b20f2bf335d0d5fce11cb2ade22aa74e7ba25 (patch)
tree2fdbeca6df1c7c5f1dad9c8f70c128c42a2621d5 /drivers/s390/cio/css.c
parent084325d80418adf4d75b10a9ceff1348f2e09163 (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.c')
-rw-r--r--drivers/s390/cio/css.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c
index bc2f8fa576a3..614cc694184e 100644
--- a/drivers/s390/cio/css.c
+++ b/drivers/s390/cio/css.c
@@ -293,7 +293,7 @@ static int css_evaluate_known_subchannel(struct subchannel *sch, int slow)
293 action = UNREGISTER; 293 action = UNREGISTER;
294 if (sch->driver && sch->driver->notify) { 294 if (sch->driver && sch->driver->notify) {
295 spin_unlock_irqrestore(sch->lock, flags); 295 spin_unlock_irqrestore(sch->lock, flags);
296 ret = sch->driver->notify(&sch->dev, event); 296 ret = sch->driver->notify(sch, event);
297 spin_lock_irqsave(sch->lock, flags); 297 spin_lock_irqsave(sch->lock, flags);
298 if (ret) 298 if (ret)
299 action = NONE; 299 action = NONE;