diff options
Diffstat (limited to 'drivers/s390')
-rw-r--r-- | drivers/s390/char/tape_class.c | 1 | ||||
-rw-r--r-- | drivers/s390/char/vmlogrdr.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/s390/char/tape_class.c b/drivers/s390/char/tape_class.c index ed0cb1f15b4c..fcaee447d6fe 100644 --- a/drivers/s390/char/tape_class.c +++ b/drivers/s390/char/tape_class.c | |||
@@ -72,6 +72,7 @@ struct tape_class_device *register_tape_dev( | |||
72 | 72 | ||
73 | tcd->class_device = class_device_create( | 73 | tcd->class_device = class_device_create( |
74 | tape_class, | 74 | tape_class, |
75 | NULL, | ||
75 | tcd->char_device->dev, | 76 | tcd->char_device->dev, |
76 | device, | 77 | device, |
77 | "%s", tcd->device_name | 78 | "%s", tcd->device_name |
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, |