浏览代码

[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>
Al Viro 19 年之前
父节点
当前提交
f6b52e85a5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/s390/char/vmlogrdr.c

+ 1 - 1
drivers/s390/char/vmlogrdr.c

@@ -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 );