diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2012-05-15 17:49:12 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2012-05-16 14:42:46 +0200 |
commit | f2962dae0efd81fed06d0687f300725ab063587a (patch) | |
tree | 35ffb7fcbc9466e80e29da10e52ca82ab06dd3df /drivers/s390/cio/device.c | |
parent | eda0c6d6b04d3cf72f5e8d656e39bffe3568e6db (diff) | |
download | linux-f2962dae0efd81fed06d0687f300725ab063587a.tar.bz2 |
s390/ccwgroup: introduce ccwgroup_create_dev
Add a new interface for drivers to create a group device. Via the old
interface ccwgroup_create_from_string we would create a virtual device
in a way that only the caller of this function would match and bind to.
Via the new ccwgroup_create_dev we stop playing games with the driver
core and directly set the driver of the new group device. For drivers
which have todo additional setup steps (like setting driver_data)
provide a new setup driver callback.
Reviewed-by: Cornelia Huck <cornelia.huck@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 'drivers/s390/cio/device.c')
0 files changed, 0 insertions, 0 deletions