summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2005-10-29 07:06:59 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2005-10-29 10:35:07 -0700
commitf6b52e85a5d022008fe9f99eab7c9f41f155e3cd (patch)
tree5fecf0c488bbabacd272db0ea82e3f498317485d /drivers/s390
parent2d3c0b7bedfd7a8e1870a046a434bd467e7c5349 (diff)
downloadblackbird-op-linux-f6b52e85a5d022008fe9f99eab7c9f41f155e3cd.tar.gz
blackbird-op-linux-f6b52e85a5d022008fe9f99eab7c9f41f155e3cd.zip
[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>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/char/vmlogrdr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/vmlogrdr.c b/drivers/s390/char/vmlogrdr.c
index a107fec4457a..b2d75de144c6 100644
--- a/drivers/s390/char/vmlogrdr.c
+++ b/drivers/s390/char/vmlogrdr.c
@@ -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 );
OpenPOWER on IntegriCloud