summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2005-11-18 01:11:03 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2005-11-18 07:49:46 -0800
commitfc71fe40d2bedcc57d3406bf2050481f8b3441b6 (patch)
treea0da5e2e32a4867f8f813f0421361b28aef55d20 /drivers
parentb50ce2324cecf4efc7babe31f4aa1a07f9157317 (diff)
downloadop-kernel-dev-fc71fe40d2bedcc57d3406bf2050481f8b3441b6.zip
op-kernel-dev-fc71fe40d2bedcc57d3406bf2050481f8b3441b6.tar.gz
[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 <schwidefsky@de.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/s390/char/raw3270.c4
1 files changed, 2 insertions, 2 deletions
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);
OpenPOWER on IntegriCloud