Explorar o código

[SCSI] qla2xxx: fix compile error caused by pci_dev.owner move

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
James Bottomley %!s(int64=19) %!d(string=hai) anos
pai
achega
0a21ef1e60
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      drivers/scsi/qla2xxx/qla_os.c

+ 3 - 1
drivers/scsi/qla2xxx/qla_os.c

@@ -2611,7 +2611,9 @@ qla2xxx_remove_one(struct pci_dev *pdev)
 
 static struct pci_driver qla2xxx_pci_driver = {
 	.name		= "qla2xxx",
-	.owner		= THIS_MODULE,
+	.driver		= {
+		.owner		= THIS_MODULE,
+	},
 	.id_table	= qla2xxx_pci_tbl,
 	.probe		= qla2xxx_probe_one,
 	.remove		= __devexit_p(qla2xxx_remove_one),