diff options
Diffstat (limited to 'drivers/s390/char/vmlogrdr.c')
-rw-r--r-- | drivers/s390/char/vmlogrdr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/s390/char/vmlogrdr.c b/drivers/s390/char/vmlogrdr.c index c31faefa2b3b..036e650e8b9c 100644 --- a/drivers/s390/char/vmlogrdr.c +++ b/drivers/s390/char/vmlogrdr.c | |||
@@ -751,7 +751,7 @@ static int vmlogrdr_register_device(struct vmlogrdr_priv_t *priv) | |||
751 | priv->class_device = device_create_drvdata(vmlogrdr_class, dev, | 751 | priv->class_device = device_create_drvdata(vmlogrdr_class, dev, |
752 | MKDEV(vmlogrdr_major, | 752 | MKDEV(vmlogrdr_major, |
753 | priv->minor_num), | 753 | priv->minor_num), |
754 | priv, "%s", dev->bus_id); | 754 | priv, "%s", dev_name(dev)); |
755 | if (IS_ERR(priv->class_device)) { | 755 | if (IS_ERR(priv->class_device)) { |
756 | ret = PTR_ERR(priv->class_device); | 756 | ret = PTR_ERR(priv->class_device); |
757 | priv->class_device=NULL; | 757 | priv->class_device=NULL; |