You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[S390] bus_id -> dev_set_name() changes
Convert most s390 users setting bus_id to dev_set_name(). css and ccw busses are deferred since they need some special treatment. Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
This commit is contained in:
committed by
Martin Schwidefsky
parent
2a0217d5c7
commit
1bf5b28539
@@ -892,8 +892,8 @@ static void ap_scan_bus(struct work_struct *unused)
|
||||
|
||||
ap_dev->device.bus = &ap_bus_type;
|
||||
ap_dev->device.parent = ap_root_device;
|
||||
snprintf(ap_dev->device.bus_id, BUS_ID_SIZE, "card%02x",
|
||||
AP_QID_DEVICE(ap_dev->qid));
|
||||
dev_set_name(&ap_dev->device, "card%02x",
|
||||
AP_QID_DEVICE(ap_dev->qid));
|
||||
ap_dev->device.release = ap_device_release;
|
||||
rc = device_register(&ap_dev->device);
|
||||
if (rc) {
|
||||
|
||||
Reference in New Issue
Block a user