Skip to content

Commit 3db0657

Browse files
committed
drivers: gpio: rpi_pico: Fitting for the changes made in pico-sdk 2.0.0
Following the GPIO interface changes in pico-sdk 2.0.0. Signed-off-by: TOKITA Hiroshi <[email protected]>
1 parent a6ca826 commit 3db0657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpio/gpio_rpi_pico.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ static const struct gpio_driver_api gpio_rpi_driver_api = {
192192
static void gpio_rpi_isr(const struct device *dev)
193193
{
194194
struct gpio_rpi_data *data = dev->data;
195-
io_irq_ctrl_hw_t *irq_ctrl_base;
195+
io_bank0_irq_ctrl_hw_t *irq_ctrl_base;
196196
const io_rw_32 *status_reg;
197197
uint32_t events;
198198
uint32_t pin;

0 commit comments

Comments
 (0)