]> err.no Git - linux-2.6/commitdiff
[SCSI] ipr: Allow driver_data to be passed for dynamic ids
authorBrian King <brking@linux.vnet.ibm.com>
Thu, 26 Apr 2007 21:00:07 +0000 (16:00 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Sun, 6 May 2007 14:33:18 +0000 (09:33 -0500)
Since driver_data for pci ids in the ipr driver is now
just flags, we can allow these to be passed in from userspace
for dynamic ids.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/ipr.c

index f7af86f73d6b7c2985bea48b48ab6c898b7dedd1..818ebf3f008f988865046aa735b53e5551edb53e 100644 (file)
@@ -7649,6 +7649,7 @@ static struct pci_driver ipr_driver = {
        .remove = ipr_remove,
        .shutdown = ipr_shutdown,
        .err_handler = &ipr_err_handler,
+       .dynids.use_driver_data = 1
 };
 
 /**