Commit f7e5d67c authored by Cornelia Huck's avatar Cornelia Huck Committed by Martin Schwidefsky

[S390] cio: Make some structures and a function static.

Signed-off-by: default avatarCornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent 9a92fe48
...@@ -191,8 +191,7 @@ static int css_register_subchannel(struct subchannel *sch) ...@@ -191,8 +191,7 @@ static int css_register_subchannel(struct subchannel *sch)
return ret; return ret;
} }
int static int css_probe_device(struct subchannel_id schid)
css_probe_device(struct subchannel_id schid)
{ {
int ret; int ret;
struct subchannel *sch; struct subchannel *sch;
......
...@@ -138,9 +138,7 @@ struct css_driver { ...@@ -138,9 +138,7 @@ struct css_driver {
* all css_drivers have the css_bus_type * all css_drivers have the css_bus_type
*/ */
extern struct bus_type css_bus_type; extern struct bus_type css_bus_type;
extern struct css_driver io_subchannel_driver;
extern int css_probe_device(struct subchannel_id);
extern int css_sch_device_register(struct subchannel *); extern int css_sch_device_register(struct subchannel *);
extern void css_sch_device_unregister(struct subchannel *); extern void css_sch_device_unregister(struct subchannel *);
extern struct subchannel * get_subchannel_by_schid(struct subchannel_id); extern struct subchannel * get_subchannel_by_schid(struct subchannel_id);
......
...@@ -129,7 +129,7 @@ static void io_subchannel_verify(struct device *); ...@@ -129,7 +129,7 @@ static void io_subchannel_verify(struct device *);
static void io_subchannel_ioterm(struct device *); static void io_subchannel_ioterm(struct device *);
static void io_subchannel_shutdown(struct subchannel *); static void io_subchannel_shutdown(struct subchannel *);
struct css_driver io_subchannel_driver = { static struct css_driver io_subchannel_driver = {
.subchannel_type = SUBCHANNEL_TYPE_IO, .subchannel_type = SUBCHANNEL_TYPE_IO,
.drv = { .drv = {
.name = "io_subchannel", .name = "io_subchannel",
...@@ -546,7 +546,7 @@ static struct attribute_group ccwdev_attr_group = { ...@@ -546,7 +546,7 @@ static struct attribute_group ccwdev_attr_group = {
.attrs = ccwdev_attrs, .attrs = ccwdev_attrs,
}; };
struct attribute_group *ccwdev_attr_groups[] = { static struct attribute_group *ccwdev_attr_groups[] = {
&ccwdev_attr_group, &ccwdev_attr_group,
NULL, NULL,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment