From a9d43c892b79bc562165608f6ae2467ea3fcd419 Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Fri, 27 Jan 2023 11:34:04 +0100 Subject: [PATCH] [nrf fromtree] drivers: ieee802154_nrf5: Fix warning in ISR prototype The ISR prototype was changed some time ago (6df8b3995e05d6348f8de9601379475a5455fedd) to (const void*) => fix the prototype used when CONFIG_IEEE802154_NRF5_EXT_IRQ_MGMT is not set to avoid a compile warning. Signed-off-by: Alberto Escolar Piedras (cherry picked from commit fb196da80912acb5db719fff48d43eaae03005c4) --- drivers/ieee802154/ieee802154_nrf5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/ieee802154/ieee802154_nrf5.c b/drivers/ieee802154/ieee802154_nrf5.c index 204e341bcfd..5c265248759 100644 --- a/drivers/ieee802154/ieee802154_nrf5.c +++ b/drivers/ieee802154/ieee802154_nrf5.c @@ -725,7 +725,7 @@ static int nrf5_stop(const struct device *dev) } #if !IS_ENABLED(CONFIG_IEEE802154_NRF5_EXT_IRQ_MGMT) -static void nrf5_radio_irq(void *arg) +static void nrf5_radio_irq(const void *arg) { ARG_UNUSED(arg);