summaryrefslogtreecommitdiffstats
path: root/bsps/sparc/leon3/start/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'bsps/sparc/leon3/start/cache.c')
-rw-r--r--bsps/sparc/leon3/start/cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsps/sparc/leon3/start/cache.c b/bsps/sparc/leon3/start/cache.c
index fb210a1f70..c428efa119 100644
--- a/bsps/sparc/leon3/start/cache.c
+++ b/bsps/sparc/leon3/start/cache.c
@@ -31,7 +31,7 @@ static inline volatile struct l2c_regs *get_l2c_regs(void)
struct ambapp_dev *adev;
adev = (void *) ambapp_for_each(
- &ambapp_plb,
+ ambapp_plb(),
OPTIONS_ALL | OPTIONS_AHB_SLVS,
VENDOR_GAISLER,
GAISLER_L2CACHE,