summaryrefslogtreecommitdiff
path: root/drivers/infiniband/hw/mthca/mthca_main.c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2005-10-18 14:07:07 -0700
committerRoland Dreier <rolandd@cisco.com>2005-10-18 14:07:07 -0700
commitd476306f1cc9156ce4b42586aacce70a356ef656 (patch)
tree045da3b196f276bbe83cd25f08956578d5e918f6 /drivers/infiniband/hw/mthca/mthca_main.c
parentc6f5cb7be0ab478e0618e3c2c6ada27f56d1e7fb (diff)
[IB] mthca: Add struct pci_driver.owner field
Set mthca_driver.owner to THIS_MODULE. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_main.c')
-rw-r--r--drivers/infiniband/hw/mthca/mthca_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_main.c b/drivers/infiniband/hw/mthca/mthca_main.c
index 7c35abec81ea..883d1e5a79bc 100644
--- a/drivers/infiniband/hw/mthca/mthca_main.c
+++ b/drivers/infiniband/hw/mthca/mthca_main.c
@@ -1196,6 +1196,7 @@ MODULE_DEVICE_TABLE(pci, mthca_pci_table);
static struct pci_driver mthca_driver = {
.name = DRV_NAME,
+ .owner = THIS_MODULE,
.id_table = mthca_pci_table,
.probe = mthca_init_one,
.remove = __devexit_p(mthca_remove_one)