diff options
author | Ursula Braun <braunu@de.ibm.com> | 2008-04-24 04:15:20 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-04-29 01:56:29 -0400 |
commit | 022b660ae5d075ed9eaddef6f6fb7abb48bdf63b (patch) | |
tree | 9520e014a156da3d70f26e859d4e9b838602f79b /include/asm-s390 | |
parent | 8bbf84404b02f193c5422c252264d7b82ffe4443 (diff) |
ccwgroup: Unify parsing for group attribute.
Instead of having each driver for ccwgroup slave device parsing the
input itself and calling ccwgroup_create(), introduce a new function
ccwgroup_create_from_string() and handle parsing inside the ccwgroup
core.
Signed-off-by: Ursula Braun <braunu@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/asm-s390')
-rw-r--r-- | include/asm-s390/ccwgroup.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/asm-s390/ccwgroup.h b/include/asm-s390/ccwgroup.h index 289053ef5e60..a27f68985a79 100644 --- a/include/asm-s390/ccwgroup.h +++ b/include/asm-s390/ccwgroup.h | |||
@@ -57,10 +57,9 @@ struct ccwgroup_driver { | |||
57 | 57 | ||
58 | extern int ccwgroup_driver_register (struct ccwgroup_driver *cdriver); | 58 | extern int ccwgroup_driver_register (struct ccwgroup_driver *cdriver); |
59 | extern void ccwgroup_driver_unregister (struct ccwgroup_driver *cdriver); | 59 | extern void ccwgroup_driver_unregister (struct ccwgroup_driver *cdriver); |
60 | extern int ccwgroup_create (struct device *root, | 60 | int ccwgroup_create_from_string(struct device *root, unsigned int creator_id, |
61 | unsigned int creator_id, | 61 | struct ccw_driver *cdrv, int num_devices, |
62 | struct ccw_driver *gdrv, | 62 | const char *buf); |
63 | int argc, char *argv[]); | ||
64 | 63 | ||
65 | extern int ccwgroup_probe_ccwdev(struct ccw_device *cdev); | 64 | extern int ccwgroup_probe_ccwdev(struct ccw_device *cdev); |
66 | extern void ccwgroup_remove_ccwdev(struct ccw_device *cdev); | 65 | extern void ccwgroup_remove_ccwdev(struct ccw_device *cdev); |