|
@@ -1370,6 +1370,7 @@ static void cciss_add_disk(ctlr_info_t *h, struct gendisk *disk,
|
|
|
disk->first_minor = drv_index << NWD_SHIFT;
|
|
|
disk->fops = &cciss_fops;
|
|
|
disk->private_data = &h->drv[drv_index];
|
|
|
+ disk->driverfs_dev = &h->pdev->dev;
|
|
|
|
|
|
/* Set up queue information */
|
|
|
blk_queue_bounce_limit(disk->queue, h->pdev->dma_mask);
|