Merge tag 'for-4.20/block-20181021' of git://git.kernel.dk/linux-block
[muen/linux.git] / drivers / block / sunvdc.c
index f68e9baffad764a72e31fdb652b9707dbaf8e46e..b54fa6726303b2ba12ad645ae7ff3bff3bbebdcc 100644 (file)
@@ -857,7 +857,7 @@ static int probe_disk(struct vdc_port *port)
               port->vdisk_size, (port->vdisk_size >> (20 - 9)),
               port->vio.ver.major, port->vio.ver.minor);
 
-       device_add_disk(&port->vio.vdev->dev, g);
+       device_add_disk(&port->vio.vdev->dev, g, NULL);
 
        return 0;
 }