From: Martin Schwidefsky Date: Fri, 18 Nov 2005 09:11:03 +0000 (-0800) Subject: [PATCH] s390: fix class_device_create calls in 3270 the driver X-Git-Tag: v3.12-rc1~40313 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc71fe40d2bedcc57d3406bf2050481f8b3441b6;p=kernel%2Fkernel-generic.git [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: Martin Schwidefsky Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/s390/char/raw3270.c b/drivers/s390/char/raw3270.c index f5b7d36..1026f2b 100644 --- a/drivers/s390/char/raw3270.c +++ b/drivers/s390/char/raw3270.c @@ -1179,12 +1179,12 @@ raw3270_create_attributes(struct raw3270 *rp) //FIXME: check return code sysfs_create_group(&rp->cdev->dev.kobj, &raw3270_attr_group); rp->clttydev = - class_device_create(class3270, + class_device_create(class3270, NULL, MKDEV(IBM_TTY3270_MAJOR, rp->minor), &rp->cdev->dev, "tty%s", rp->cdev->dev.bus_id); rp->cltubdev = - class_device_create(class3270, + class_device_create(class3270, NULL, MKDEV(IBM_FS3270_MAJOR, rp->minor), &rp->cdev->dev, "tub%s", rp->cdev->dev.bus_id);