Commit 27c0ff86 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

[PATCH] CCISS: add device symlink to the block cciss block devices in sysfs

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c18f6365
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment