summaryrefslogtreecommitdiff
path: root/bsp/sifive-hifive1-revb/metal-inline.h
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2019-06-21 21:57:45 +0000
committerGitHub <noreply@github.com>2019-06-21 21:57:45 +0000
commit4bc2e5141c68e82f2f6d7c8f71051fe93dd96d18 (patch)
treed62ccc6b3076684fa62bd73d6ce2e082115b37d7 /bsp/sifive-hifive1-revb/metal-inline.h
parent543c5f1122f39fc5791a31bc3c8d714108acf8d1 (diff)
parentb3cf267705758a305a59b2d31e76e752d84a204c (diff)
Merge pull request #295 from sifive/update-targets
Fix OpenOCD cfg and remove warnings
Diffstat (limited to 'bsp/sifive-hifive1-revb/metal-inline.h')
-rw-r--r--bsp/sifive-hifive1-revb/metal-inline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsp/sifive-hifive1-revb/metal-inline.h b/bsp/sifive-hifive1-revb/metal-inline.h
index f8f03d0..8c0cd04 100644
--- a/bsp/sifive-hifive1-revb/metal-inline.h
+++ b/bsp/sifive-hifive1-revb/metal-inline.h
@@ -12,7 +12,7 @@
/* --------------------- fixed_clock ------------ */
-extern inline unsigned long __metal_driver_fixed_clock_rate(struct metal_clock *clock);
+extern inline unsigned long __metal_driver_fixed_clock_rate(const struct metal_clock *clock);
/* --------------------- fixed_factor_clock ------------ */