Skip to content
Snippets Groups Projects
Commit fc71fe40 authored by Martin Schwidefsky's avatar Martin Schwidefsky Committed by Linus Torvalds
Browse files

[PATCH] s390: fix class_device_create calls in 3270 the driver


Add the missing NULL argument to the class_device_create calls.

Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b50ce232
No related branches found
No related tags found
No related merge requests found
...@@ -1179,12 +1179,12 @@ raw3270_create_attributes(struct raw3270 *rp) ...@@ -1179,12 +1179,12 @@ raw3270_create_attributes(struct raw3270 *rp)
//FIXME: check return code //FIXME: check return code
sysfs_create_group(&rp->cdev->dev.kobj, &raw3270_attr_group); sysfs_create_group(&rp->cdev->dev.kobj, &raw3270_attr_group);
rp->clttydev = rp->clttydev =
class_device_create(class3270, class_device_create(class3270, NULL,
MKDEV(IBM_TTY3270_MAJOR, rp->minor), MKDEV(IBM_TTY3270_MAJOR, rp->minor),
&rp->cdev->dev, "tty%s", &rp->cdev->dev, "tty%s",
rp->cdev->dev.bus_id); rp->cdev->dev.bus_id);
rp->cltubdev = rp->cltubdev =
class_device_create(class3270, class_device_create(class3270, NULL,
MKDEV(IBM_FS3270_MAJOR, rp->minor), MKDEV(IBM_FS3270_MAJOR, rp->minor),
&rp->cdev->dev, "tub%s", &rp->cdev->dev, "tub%s",
rp->cdev->dev.bus_id); rp->cdev->dev.bus_id);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment