Skip to content

Commit 01d3312

Browse files
soburihenrikbrixandersen
authored andcommitted
drivers: gpio: emul: Fixed return type of get_pending_int
`get_pending_int` should return a uint32_t value as defined in `struct gpio_driver_api`. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent c9f9d5c commit 01d3312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpio_emul.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ static int gpio_emul_manage_callback(const struct device *port,
762762
return gpio_manage_callback(&drv_data->callbacks, cb, set);
763763
}
764764

765-
static gpio_port_pins_t gpio_emul_get_pending_int(const struct device *dev)
765+
static uint32_t gpio_emul_get_pending_int(const struct device *dev)
766766
{
767767
struct gpio_emul_data *drv_data =
768768
(struct gpio_emul_data *)dev->data;

0 commit comments

Comments
 (0)