Skip to contentSkip to conversation

arguments out of order in class_device_create() call (s390)

PATCH New Al Viro 1 participant 1 message Oct 29, 2005 s390

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 arguments out of order in class_device_create() call (s390)

----

drivers/s390/char/vmlogrdr.c +1 -1
diff -urN RC14-base/drivers/s390/char/vmlogrdr.c current/drivers/s390/char/vmlogrdr.c
@@ -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 );