[PATCH] arguments out of order in class_device_create() call (s390)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
@@ -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 );
|
||||||
|
Reference in New Issue
Block a user