Skip to content

Commit 123d2e7

Browse files
hoeppnerjhcahca
authored andcommitted
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: 9872dae ("s390/tape: Rename tape_34xx.c to tape_3490.c") Reported-by: Alexander Egorenkov <egorenar@linux.ibm.com> Reviewed-by: Jens Remus <jremus@linux.ibm.com> Tested-by: Alexander Egorenkov <egorenar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com> Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
1 parent 3ce500a commit 123d2e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/s390/char/tape_3490.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ tape_3490_online(struct ccw_device *cdev)
784784

785785
static struct ccw_driver tape_3490_driver = {
786786
.driver = {
787-
.name = "tape_3490",
787+
.name = "tape_34xx",
788788
.owner = THIS_MODULE,
789789
},
790790
.ids = tape_3490_ids,

0 commit comments

Comments
 (0)