summaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2006-04-27 15:46:39 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-21 12:40:47 -0700
commit27c0ff868f2ad3c9732ce45abbb8dd7e1723931f (patch)
treebfb9a16843377d12a1d051d04cc8c7791eaceb6e /drivers/block/cciss.c
parentc18f6365fdbaf30611a8822afcd7097865dcaa32 (diff)
downloadop-kernel-dev-27c0ff868f2ad3c9732ce45abbb8dd7e1723931f.zip
op-kernel-dev-27c0ff868f2ad3c9732ce45abbb8dd7e1723931f.tar.gz
[PATCH] CCISS: add device symlink to the block cciss block devices in sysfs
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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 1319d8f..25c3c4a 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)
OpenPOWER on IntegriCloud