aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r--drivers/block/cciss.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index 1319d8f20640..25c3c4a5da81 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -3237,6 +3237,7 @@ static int __devinit cciss_init_one(struct pci_dev *pdev,
3237 disk->fops = &cciss_fops; 3237 disk->fops = &cciss_fops;
3238 disk->queue = q; 3238 disk->queue = q;
3239 disk->private_data = drv; 3239 disk->private_data = drv;
3240 disk->driverfs_dev = &pdev->dev;
3240 /* we must register the controller even if no disks exist */ 3241 /* we must register the controller even if no disks exist */
3241 /* this is for the online array utilities */ 3242 /* this is for the online array utilities */
3242 if(!drv->heads && j) 3243 if(!drv->heads && j)