diff options
author | Cornelia Huck <cornelia.huck@de.ibm.com> | 2008-12-25 07:39:09 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-12-25 07:39:08 -0500 |
commit | 90ed2b692fa75272d7395c4e4c2de4423d52f506 (patch) | |
tree | 62b2d1a0595b73718dd0d39d331a4c3c9fa91f81 /drivers/s390/cio/cio.h | |
parent | 5fb6b8544d9ccd2ed478af777f9e99e342eb8886 (diff) |
[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 { | |||
82 | struct device dev; /* entry in device tree */ | 82 | struct device dev; /* entry in device tree */ |
83 | struct css_driver *driver; | 83 | struct css_driver *driver; |
84 | void *private; /* private per subchannel type data */ | 84 | void *private; /* private per subchannel type data */ |
85 | struct work_struct work; | ||
85 | } __attribute__ ((aligned(8))); | 86 | } __attribute__ ((aligned(8))); |
86 | 87 | ||
87 | #define IO_INTERRUPT_TYPE 0 /* I/O interrupt type */ | 88 | #define IO_INTERRUPT_TYPE 0 /* I/O interrupt type */ |