diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-12-25 13:39:09 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-12-25 13:39:08 +0100 |
commit | 90ed2b692fa75272d7395c4e4c2de4423d52f506 (patch) | |
tree | 62b2d1a0595b73718dd0d39d331a4c3c9fa91f81 /drivers/s390/cio/cio.h | |
parent | 5fb6b8544d9ccd2ed478af777f9e99e342eb8886 (diff) | |
download | linux-stable-90ed2b692fa75272d7395c4e4c2de4423d52f506.tar.gz linux-stable-90ed2b692fa75272d7395c4e4c2de4423d52f506.tar.bz2 linux-stable-90ed2b692fa75272d7395c4e4c2de4423d52f506.zip |
[S390] cio: Dont fail probe for I/O subchannels.
If we fail the probe for an I/O subchannel, we won't be able
to unregister it again since there are no sch_event()
callbacks for unbound subchannels. Just succeed the probe in
any case and schedule unregistering the subchannel.
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/cio.h')
-rw-r--r-- | drivers/s390/cio/cio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/cio/cio.h b/drivers/s390/cio/cio.h index 0fb24784e925..5db887e8f032 100644 --- a/drivers/s390/cio/cio.h +++ b/drivers/s390/cio/cio.h @@ -82,6 +82,7 @@ struct subchannel { struct device dev; /* entry in device tree */ struct css_driver *driver; void *private; /* private per subchannel type data */ + struct work_struct work; } __attribute__ ((aligned(8))); #define IO_INTERRUPT_TYPE 0 /* I/O interrupt type */ |