Commit 123d2e75 authored by Jan Höppner's avatar Jan Höppner Committed by Heiko Carstens
Browse files

s390/tape: Fix device driver name



Recent cleanups and code consolidations in the s390 tape device driver
renamed files and function namespaces from tape_34xx to tape_3490 to
better reflect the single support of the IBM 3490E device in the
codebase.

These changes also renamed the driver name to tape_3490, which
consequently broke userspace as the sysfs driver path is now
/sys/bus/ccw/drivers/tape_3490/ instead of
/sys/bus/ccw/drivers/tape_34xx/.

Change the device driver name back to tape_34xx to fix userspace.

Fixes: 9872dae6 ("s390/tape: Rename tape_34xx.c to tape_3490.c")
Reported-by: default avatarAlexander Egorenkov <egorenar@linux.ibm.com>
Reviewed-by: default avatarJens Remus <jremus@linux.ibm.com>
Tested-by: default avatarAlexander Egorenkov <egorenar@linux.ibm.com>
Signed-off-by: default avatarJan Höppner <hoeppner@linux.ibm.com>
Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
parent 3ce500aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -784,7 +784,7 @@ tape_3490_online(struct ccw_device *cdev)

static struct ccw_driver tape_3490_driver = {
	.driver = {
		.name = "tape_3490",
		.name = "tape_34xx",
		.owner = THIS_MODULE,
	},
	.ids = tape_3490_ids,