diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-04-01 09:57:12 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-04-19 14:57:03 -0300 |
commit | bcf9ee0520fa95c692eaf6ec5e61e55059c75e15 (patch) | |
tree | 548063c713d0c3f1d3ccd3a97aafc949d235bc22 /drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c | |
parent | ae9884829c48528ae43b963bddd8856505fcfef1 (diff) | |
download | linux-bcf9ee0520fa95c692eaf6ec5e61e55059c75e15.tar.gz linux-bcf9ee0520fa95c692eaf6ec5e61e55059c75e15.tar.bz2 linux-bcf9ee0520fa95c692eaf6ec5e61e55059c75e15.zip |
RDMA/bnxt_re: Create direct symbol link between bnxt modules
Convert indirect probe call to its direct equivalent to create a symbol
link between RDMA and netdev modules. This will give us an ability to
remove custom module reference counting that doesn't belong to the driver.
Link: https://lore.kernel.org/r/20210401065715.565226-3-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Acked-By: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c b/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c index 64dbbb04b043..a918e374f3c5 100644 --- a/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c +++ b/drivers/net/ethernet/broadcom/bnxt/bnxt_ulp.c @@ -491,3 +491,4 @@ struct bnxt_en_dev *bnxt_ulp_probe(struct net_device *dev) } return bp->edev; } +EXPORT_SYMBOL(bnxt_ulp_probe); |