diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 01:25:43 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 12:52:52 -0400 |
commit | 53f4654272df7c51064825024340554b39c9efba (patch) | |
tree | e3e7b82a6bb0040ffbd267b250be2720704b98f2 /drivers/s390/char/vmlogrdr.c | |
parent | 51d172d5f3a193e4b8f76179b2e55d7a36b94117 (diff) |
[PATCH] Driver Core: fix up all callers of class_device_create()
The previous patch adding the ability to nest struct class_device
changed the paramaters to the call class_device_create(). This patch
fixes up all in-kernel users of the function.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/s390/char/vmlogrdr.c')
-rw-r--r-- | drivers/s390/char/vmlogrdr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/s390/char/vmlogrdr.c b/drivers/s390/char/vmlogrdr.c index 491f00c032e8..a107fec4457a 100644 --- a/drivers/s390/char/vmlogrdr.c +++ b/drivers/s390/char/vmlogrdr.c | |||
@@ -787,6 +787,7 @@ vmlogrdr_register_device(struct vmlogrdr_priv_t *priv) { | |||
787 | return ret; | 787 | return ret; |
788 | } | 788 | } |
789 | priv->class_device = class_device_create( | 789 | priv->class_device = class_device_create( |
790 | NULL, | ||
790 | vmlogrdr_class, | 791 | vmlogrdr_class, |
791 | MKDEV(vmlogrdr_major, priv->minor_num), | 792 | MKDEV(vmlogrdr_major, priv->minor_num), |
792 | dev, | 793 | dev, |