Commit f6b52e85 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds

[PATCH] arguments out of order in class_device_create() call (s390)

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 2d3c0b7b
...@@ -787,8 +787,8 @@ vmlogrdr_register_device(struct vmlogrdr_priv_t *priv) { ...@@ -787,8 +787,8 @@ vmlogrdr_register_device(struct vmlogrdr_priv_t *priv) {
return ret; return ret;
} }
priv->class_device = class_device_create( priv->class_device = class_device_create(
NULL,
vmlogrdr_class, vmlogrdr_class,
NULL,
MKDEV(vmlogrdr_major, priv->minor_num), MKDEV(vmlogrdr_major, priv->minor_num),
dev, dev,
"%s", dev->bus_id ); "%s", dev->bus_id );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment