drivers: temp_nrf5: Fix warning in ISR prototype

The ISR prototype was changed some time ago
(6df8b3995e)
to (const void*) => fix isr function definition
to avoid a compile warning.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
Alberto Escolar Piedras 2023-04-14 14:40:37 +02:00 committed by Carles Cufí
commit 83377046ba

View file

@ -95,7 +95,7 @@ static int temp_nrf5_channel_get(const struct device *dev,
return 0;
}
static void temp_nrf5_isr(void *arg)
static void temp_nrf5_isr(const void *arg)
{
const struct device *dev = (const struct device *)arg;
struct temp_nrf5_data *data = dev->data;