summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx
diff options
context:
space:
mode:
authorJames Bottomley <jejb@titanic.(none)>2005-12-01 19:51:50 +0100
committerJames Bottomley <jejb@titanic.(none)>2005-12-14 02:12:07 +0100
commit0a21ef1e603096a8f57fcd7fa0b8b53e7147d3b9 (patch)
treed0d4deb05fbfdc8c36bf606b52f81203d7e9e26d /drivers/scsi/qla2xxx
parent[SCSI] correct some dropped const compiler warnings (diff)
downloadlinux-0a21ef1e603096a8f57fcd7fa0b8b53e7147d3b9.tar.xz
linux-0a21ef1e603096a8f57fcd7fa0b8b53e7147d3b9.zip
[SCSI] qla2xxx: fix compile error caused by pci_dev.owner move
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index 41d2aeee0963..24304300d7b5 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/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),