diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-24 08:25:35 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-24 09:11:08 +0200 |
commit | 61c51dbb18260e0e3105237c1178319efcf66a9d (patch) | |
tree | 6aaa9bab6616e29407879c3b9180a7f0689cb086 /bsps | |
parent | score: Add _CPU_Instruction_illegal() (diff) | |
download | rtems-61c51dbb18260e0e3105237c1178319efcf66a9d.tar.bz2 |
bsp/beagle: Fix warnings
Diffstat (limited to 'bsps')
-rw-r--r-- | bsps/arm/beagle/include/bsp.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bsps/arm/beagle/include/bsp.h b/bsps/arm/beagle/include/bsp.h index 1a69b5e308..f394c84157 100644 --- a/bsps/arm/beagle/include/bsp.h +++ b/bsps/arm/beagle/include/bsp.h @@ -209,7 +209,7 @@ typedef struct { /* sctlr */ /* Read System Control Register */ -static inline uint32_t read_sctlr() +static inline uint32_t read_sctlr(void) { uint32_t ctl; @@ -227,7 +227,7 @@ static inline void write_sctlr(uint32_t ctl) } /* Read Auxiliary Control Register */ -static inline uint32_t read_actlr() +static inline uint32_t read_actlr(void) { uint32_t ctl; @@ -254,7 +254,7 @@ static inline void write_ttbcr(uint32_t bcr) } /* Read Domain Access Control Register */ -static inline uint32_t read_dacr() +static inline uint32_t read_dacr(void) { uint32_t dacr; @@ -296,7 +296,7 @@ static inline void refresh_tlb(void) } /* Read Translation Table Base Register 0 */ -static inline uint32_t read_ttbr0() +static inline uint32_t read_ttbr0(void) { uint32_t bar; @@ -308,7 +308,7 @@ static inline uint32_t read_ttbr0() /* Read Translation Table Base Register 0 */ -static inline uint32_t read_ttbr0_unmasked() +static inline uint32_t read_ttbr0_unmasked(void) { uint32_t bar; |