aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/css.h
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2008-07-14 03:59:03 -0400
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-07-14 04:02:12 -0400
commitf08adc008d84f6b03d377ede951e29ed169e76e2 (patch)
tree5c8c90f6b3710a4f04f23d25e735ce4108fdc553 /drivers/s390/cio/css.h
parent99611f87176b2a908d8c66ab19a5fc550a3cd13a (diff)
[S390] css: Use css_device_id for bus matching.
css_device_id exists, so use it for determining the right driver (and add a match_flags which is always 1 for valid types). Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/css.h')
-rw-r--r--drivers/s390/cio/css.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/cio/css.h b/drivers/s390/cio/css.h
index 38bf9ddb8412..58020bf41ed0 100644
--- a/drivers/s390/cio/css.h
+++ b/drivers/s390/cio/css.h
@@ -75,7 +75,7 @@ struct chp_link;
75 */ 75 */
76struct css_driver { 76struct css_driver {
77 struct module *owner; 77 struct module *owner;
78 unsigned int subchannel_type; 78 struct css_device_id *subchannel_type;
79 struct device_driver drv; 79 struct device_driver drv;
80 void (*irq)(struct subchannel *); 80 void (*irq)(struct subchannel *);
81 int (*chp_event)(struct subchannel *, struct chp_link *, int); 81 int (*chp_event)(struct subchannel *, struct chp_link *, int);