Browse Source

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

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman 19 years ago
parent
commit
27c0ff868f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/block/cciss.c

+ 1 - 0
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)