diff --git a/boards/arm/cxd56xx/spresense/src/cxd56_gpioif.c b/boards/arm/cxd56xx/spresense/src/cxd56_gpioif.c index 236a34dc2a..27c8415f6b 100644 --- a/boards/arm/cxd56xx/spresense/src/cxd56_gpioif.c +++ b/boards/arm/cxd56xx/spresense/src/cxd56_gpioif.c @@ -188,7 +188,8 @@ int board_gpio_intconfig(uint32_t pin, int mode, bool filter, xcpt_t isr) gpiocfg |= GPIOINT_NOISE_FILTER_ENABLE; } - ret = cxd56_gpioint_config(pin, gpiocfg, isr, NULL); + ret = cxd56_gpioint_config(pin, gpiocfg, isr, (void *)pin); + return ret; #else return -ENOTSUP;