RDMA: Move owner into struct ib_device_ops

This more closely follows how other subsytems work, with owner being a
member of the structure containing the function pointers.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
Jason Gunthorpe
2019-06-05 14:39:26 -03:00
bovenliggende 72c6ec18eb
commit 7a15414252
20 gewijzigde bestanden met toevoegingen van 25 en 22 verwijderingen

Bestand weergeven

@@ -2329,6 +2329,7 @@ struct iw_cm_conn_param;
* need to define the supported operations, otherwise they will be set to null.
*/
struct ib_device_ops {
struct module *owner;
enum rdma_driver_id driver_id;
u32 uverbs_abi_ver;
@@ -2639,7 +2640,6 @@ struct ib_device {
int num_comp_vectors;
struct module *owner;
union {
struct device dev;
struct ib_core_device coredev;