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

From: Al Viro
Date: Sat Oct 29 2005 - 01:07:06 EST


Signed-off-by: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
----
diff -urN RC14-base/drivers/s390/char/vmlogrdr.c current/drivers/s390/char/vmlogrdr.c
--- RC14-base/drivers/s390/char/vmlogrdr.c 2005-10-28 22:35:58.000000000 -0400
+++ current/drivers/s390/char/vmlogrdr.c 2005-10-29 01:59:36.000000000 -0400
@@ -787,8 +787,8 @@
return ret;
}
priv->class_device = class_device_create(
- NULL,
vmlogrdr_class,
+ NULL,
MKDEV(vmlogrdr_major, priv->minor_num),
dev,
"%s", dev->bus_id );
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/