From: Greg Kroah-Hartman Date: Thu, 27 Apr 2006 22:46:39 +0000 (-0700) Subject: [PATCH] CCISS: add device symlink to the block cciss block devices in sysfs X-Git-Tag: v2.6.18-rc1~858^2~132 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27c0ff868f2ad3c9732ce45abbb8dd7e1723931f;p=linux-2.6 [PATCH] CCISS: add device symlink to the block cciss block devices in sysfs Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 1319d8f206..25c3c4a5da 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, 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)