[IB] mthca: Add struct pci_driver.owner field
authorRoland Dreier <rolandd@cisco.com>
Tue, 18 Oct 2005 21:07:07 +0000 (14:07 -0700)
committerRoland Dreier <rolandd@cisco.com>
Tue, 18 Oct 2005 21:07:07 +0000 (14:07 -0700)
Set mthca_driver.owner to THIS_MODULE.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_main.c

index 7c35abec81ea69720f83c5d9f5b26f1d95ede20e..883d1e5a79bc4270892b9a4cfdb5a83c3d841cd8 100644 (file)
@@ -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)