projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b50ce23
)
[PATCH] s390: fix class_device_create calls in 3270 the driver
author
Martin Schwidefsky
<schwidefsky@de.ibm.com>
Fri, 18 Nov 2005 09:11:03 +0000
(
01:11
-0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 18 Nov 2005 15:49:46 +0000
(07:49 -0800)
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>
drivers/s390/char/raw3270.c
patch
|
blob
|
history
diff --git
a/drivers/s390/char/raw3270.c
b/drivers/s390/char/raw3270.c
index f5b7d360fc10ae5973003ad2cd25031b71976503..1026f2bc318565334daa386321f592f125691010 100644
(file)
--- 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);