[S390] cio: css_sch_device_register() can be made static.
authorCornelia Huck <cornelia.huck@de.ibm.com>
Fri, 27 Jul 2007 10:29:10 +0000 (12:29 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 27 Jul 2007 10:29:17 +0000 (12:29 +0200)
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/cio/css.c
drivers/s390/cio/css.h

index dfca0ef139fdc374cddc8bb0ef452b24a10ccd78..eb08d63b3dac08ebad0ad7852483a0445b957f5b 100644 (file)
@@ -109,7 +109,7 @@ css_subchannel_release(struct device *dev)
        }
 }
 
-int css_sch_device_register(struct subchannel *sch)
+static int css_sch_device_register(struct subchannel *sch)
 {
        int ret;
 
index ed7977531c3f8a14d9e345f86130107e1e582442..5d65e83ca66e818428ccf003b2f2a4ddc4e5b365 100644 (file)
@@ -139,7 +139,6 @@ struct css_driver {
  */
 extern struct bus_type css_bus_type;
 
-extern int css_sch_device_register(struct subchannel *);
 extern void css_sch_device_unregister(struct subchannel *);
 extern struct subchannel * get_subchannel_by_schid(struct subchannel_id);
 extern int css_init_done;