]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/bnxt_irq.c
drivers: remove direct access to interrupt handle
[dpdk.git] / drivers / net / bnxt / bnxt_irq.c
index 122a1f9908bdfcfacd2bed437a0e9e2cbd9e9358..508abfc844819b32a0b7a6eb7d754f103a91b8ce 100644 (file)
@@ -67,7 +67,7 @@ void bnxt_int_handler(void *param)
 
 int bnxt_free_int(struct bnxt *bp)
 {
-       struct rte_intr_handle *intr_handle = &bp->pdev->intr_handle;
+       struct rte_intr_handle *intr_handle = bp->pdev->intr_handle;
        struct bnxt_irq *irq = bp->irq_tbl;
        int rc = 0;
 
@@ -170,7 +170,7 @@ int bnxt_setup_int(struct bnxt *bp)
 
 int bnxt_request_int(struct bnxt *bp)
 {
-       struct rte_intr_handle *intr_handle = &bp->pdev->intr_handle;
+       struct rte_intr_handle *intr_handle = bp->pdev->intr_handle;
        struct bnxt_irq *irq = bp->irq_tbl;
        int rc = 0;