diff options
Diffstat (limited to 'bsps/riscv/griscv/console/console.c')
-rw-r--r-- | bsps/riscv/griscv/console/console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/riscv/griscv/console/console.c b/bsps/riscv/griscv/console/console.c index 582b4c81b8..c92be99fdb 100644 --- a/bsps/riscv/griscv/console/console.c +++ b/bsps/riscv/griscv/console/console.c @@ -64,7 +64,7 @@ static int find_matching_apbuart(struct ambapp_dev *dev, int index, void *arg) /* Extract needed information of one APBUART */ apbuarts[uarts].regs = (struct apbuart_regs *)apb->start; - apbuarts[uarts].irq = apb->irq; + apbuarts[uarts].irq = apb->common.irq; /* Get APBUART core frequency, it is assumed that it is the same * as Bus frequency where the UART is situated */ |