]> err.no Git - linux-2.6/commitdiff
[PATCH] CCISS: add device symlink to the block cciss block devices in sysfs
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 27 Apr 2006 22:46:39 +0000 (15:46 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 19:40:47 +0000 (12:40 -0700)
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/block/cciss.c

index 1319d8f20640505b69ebc6a37c3f9b435910ee0e..25c3c4a5da813ed27e2ff4541e543079b842b871 100644 (file)
@@ -3237,6 +3237,7 @@ static int __devinit cciss_init_one(struct pci_dev *pdev,
                disk->fops = &cciss_fops;
                disk->queue = q;
                disk->private_data = drv;
+               disk->driverfs_dev = &pdev->dev;
                /* we must register the controller even if no disks exist */
                /* this is for the online array utilities */
                if(!drv->heads && j)