]> err.no Git - linux-2.6/commitdiff
[PATCH] arguments out of order in class_device_create() call (s390)
authorAl Viro <viro@ftp.linux.org.uk>
Sat, 29 Oct 2005 06:06:59 +0000 (07:06 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 29 Oct 2005 17:35:07 +0000 (10:35 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/s390/char/vmlogrdr.c

index a107fec4457a01401da5a27fb2ebfc799a7ec204..b2d75de144c67fef9cc9feebcfa8c5ea186e47f6 100644 (file)
@@ -787,8 +787,8 @@ vmlogrdr_register_device(struct vmlogrdr_priv_t *priv) {
                return ret;
        }
        priv->class_device = class_device_create(
-                               NULL,
                                vmlogrdr_class,
+                               NULL,
                                MKDEV(vmlogrdr_major, priv->minor_num),
                                dev,
                                "%s", dev->bus_id );