aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/css.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/cio/css.h')
-rw-r--r--drivers/s390/cio/css.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/s390/cio/css.h b/drivers/s390/cio/css.h
index 32acd24a407c..c9fd600411c4 100644
--- a/drivers/s390/cio/css.h
+++ b/drivers/s390/cio/css.h
@@ -132,6 +132,7 @@ struct css_driver {
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 *);
135 const char *name;
135}; 136};
136 137
137#define to_cssdriver(n) container_of(n, struct css_driver, drv) 138#define to_cssdriver(n) container_of(n, struct css_driver, drv)
@@ -141,6 +142,9 @@ struct css_driver {
141 */ 142 */
142extern struct bus_type css_bus_type; 143extern struct bus_type css_bus_type;
143 144
145extern int css_driver_register(struct css_driver *);
146extern void css_driver_unregister(struct css_driver *);
147
144extern void css_sch_device_unregister(struct subchannel *); 148extern void css_sch_device_unregister(struct subchannel *);
145extern struct subchannel * get_subchannel_by_schid(struct subchannel_id); 149extern struct subchannel * get_subchannel_by_schid(struct subchannel_id);
146extern int css_init_done; 150extern int css_init_done;