diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2012-11-22 09:56:39 -0500 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-11-23 05:14:35 -0500 |
commit | 683c3dcef439f969b2c7fd09b60144cb4e2155a5 (patch) | |
tree | 9c83a5059e930bc9aa81e3c96b997020e6f7713c /arch/s390 | |
parent | cff971026d7c19f67f9312e753bb06f18b6cdae7 (diff) |
s390/ccwgroup: allow drivers to call set_{on,off}line
Allow drivers to enable/disable ccwgroup devices.
Acked-by: Peter Oberparleiter <peter.oberparleiter@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/include/asm/ccwgroup.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/s390/include/asm/ccwgroup.h b/arch/s390/include/asm/ccwgroup.h index 01a905eb11e0..23723ce5ca7a 100644 --- a/arch/s390/include/asm/ccwgroup.h +++ b/arch/s390/include/asm/ccwgroup.h | |||
@@ -59,6 +59,9 @@ extern void ccwgroup_driver_unregister (struct ccwgroup_driver *cdriver); | |||
59 | int ccwgroup_create_dev(struct device *root, struct ccwgroup_driver *gdrv, | 59 | int ccwgroup_create_dev(struct device *root, struct ccwgroup_driver *gdrv, |
60 | int num_devices, const char *buf); | 60 | int num_devices, const char *buf); |
61 | 61 | ||
62 | extern int ccwgroup_set_online(struct ccwgroup_device *gdev); | ||
63 | extern int ccwgroup_set_offline(struct ccwgroup_device *gdev); | ||
64 | |||
62 | extern int ccwgroup_probe_ccwdev(struct ccw_device *cdev); | 65 | extern int ccwgroup_probe_ccwdev(struct ccw_device *cdev); |
63 | extern void ccwgroup_remove_ccwdev(struct ccw_device *cdev); | 66 | extern void ccwgroup_remove_ccwdev(struct ccw_device *cdev); |
64 | 67 | ||