There is an inconsistency in naming interrupt control
functions. This patch aligns names accordingly.
Signed-off-by: Jakub Palider <jpalider@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
}
int
-roc_bphy_handler_clear(struct roc_bphy_irq_chip *chip, int irq_num)
+roc_bphy_intr_clear(struct roc_bphy_irq_chip *chip, int irq_num)
{
roc_cpuset_t orig_cpuset, intr_cpuset;
const struct plt_memzone *mz;
__roc_api void roc_bphy_intr_handler(unsigned int irq_num);
__roc_api bool roc_bphy_intr_available(struct roc_bphy_irq_chip *irq_chip,
int irq_num);
-__roc_api int roc_bphy_handler_clear(struct roc_bphy_irq_chip *chip,
- int irq_num);
+__roc_api int roc_bphy_intr_clear(struct roc_bphy_irq_chip *chip, int irq_num);
__roc_api int roc_bphy_intr_register(struct roc_bphy_irq_chip *irq_chip,
struct roc_bphy_intr *intr);
roc_bphy_cgx_stop_rxtx;
roc_bphy_dev_fini;
roc_bphy_dev_init;
- roc_bphy_handler_clear;
roc_bphy_intr_available;
+ roc_bphy_intr_clear;
roc_bphy_intr_fini;
roc_bphy_intr_handler;
roc_bphy_intr_init;
struct bphy_device *bphy_dev = cnxk_bphy_get_bphy_dev_by_dev_id(dev_id);
if (bphy_dev->irq_chip)
- roc_bphy_handler_clear(bphy_dev->irq_chip, irq_num);
+ roc_bphy_intr_clear(bphy_dev->irq_chip, irq_num);
else
plt_err("Missing irq chip");
}