diff options
Diffstat (limited to 'bsp/sifive-hifive1/metal.h')
-rw-r--r-- | bsp/sifive-hifive1/metal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/sifive-hifive1/metal.h b/bsp/sifive-hifive1/metal.h index 792a88a..9589eba 100644 --- a/bsp/sifive-hifive1/metal.h +++ b/bsp/sifive-hifive1/metal.h @@ -146,7 +146,7 @@ struct __metal_driver_sifive_fe310_g000_prci __metal_dt_prci_10008000; /* --------------------- fixed_clock ------------ */ -static inline unsigned long __metal_driver_fixed_clock_rate(struct metal_clock *clock) +static inline unsigned long __metal_driver_fixed_clock_rate(const struct metal_clock *clock) { if ((uintptr_t)clock == (uintptr_t)&__metal_dt_clock_0) { return METAL_FIXED_CLOCK_0_CLOCK_FREQUENCY; |