summaryrefslogtreecommitdiffstats
path: root/bsps/sparc/leon3/include/leon.h
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/sparc/leon3/include/leon.h')
-rw-r--r--bsps/sparc/leon3/include/leon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/sparc/leon3/include/leon.h b/bsps/sparc/leon3/include/leon.h
index 7eed5894c6..5fadb08052 100644
--- a/bsps/sparc/leon3/include/leon.h
+++ b/bsps/sparc/leon3/include/leon.h
@@ -494,7 +494,7 @@ static inline uint32_t leon3_up_counter_frequency(void)
* For simplicity, assume that the interrupt controller uses the processor
* clock. This is at least true on the GR740.
*/
- return ambapp_freq_get(&ambapp_plb, LEON3_IrqCtrl_Adev);
+ return ambapp_freq_get(ambapp_plb(), LEON3_IrqCtrl_Adev);
}
#endif /* !ASM */