[PATCH] CCISS: add device symlink to the block cciss block devices in sysfs
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
c18f6365fd
commit
27c0ff868f
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue