diff options
author | Roland Dreier <rolandd@cisco.com> | 2005-10-18 17:07:07 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-10-18 17:07:07 -0400 |
commit | d476306f1cc9156ce4b42586aacce70a356ef656 (patch) | |
tree | 045da3b196f276bbe83cd25f08956578d5e918f6 /drivers/infiniband/hw | |
parent | c6f5cb7be0ab478e0618e3c2c6ada27f56d1e7fb (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')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_main.c | 1 |
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); | |||
1196 | 1196 | ||
1197 | static struct pci_driver mthca_driver = { | 1197 | static struct pci_driver mthca_driver = { |
1198 | .name = DRV_NAME, | 1198 | .name = DRV_NAME, |
1199 | .owner = THIS_MODULE, | ||
1199 | .id_table = mthca_pci_table, | 1200 | .id_table = mthca_pci_table, |
1200 | .probe = mthca_init_one, | 1201 | .probe = mthca_init_one, |
1201 | .remove = __devexit_p(mthca_remove_one) | 1202 | .remove = __devexit_p(mthca_remove_one) |