summaryrefslogtreecommitdiff
path: root/bsps/shared/grlib/ascs/grascs.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/shared/grlib/ascs/grascs.c')
-rw-r--r--bsps/shared/grlib/ascs/grascs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/shared/grlib/ascs/grascs.c b/bsps/shared/grlib/ascs/grascs.c
index 030faaa44c..200cf67409 100644
--- a/bsps/shared/grlib/ascs/grascs.c
+++ b/bsps/shared/grlib/ascs/grascs.c
@@ -74,7 +74,7 @@ static int ASCS_get_addr(int *base, int *irq) {
if(ambapp_find_apbslv(&ambapp_plb, VENDOR_GAISLER, GAISLER_ASCS, &core) == 1) {
*base = core.start;
- *irq = core.irq;
+ *irq = core.common.irq;
DBG("ASCS_get_addr: Registerd ASCS core at 0x%x with irq %i\n",core.start, core.irq);
return 0;
}