diff options
Diffstat (limited to 'firmware/target/mips/ingenic_x1000/sfc-x1000.h')
-rw-r--r-- | firmware/target/mips/ingenic_x1000/sfc-x1000.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/mips/ingenic_x1000/sfc-x1000.h b/firmware/target/mips/ingenic_x1000/sfc-x1000.h index d28bcb6740..afb4aa3ce6 100644 --- a/firmware/target/mips/ingenic_x1000/sfc-x1000.h +++ b/firmware/target/mips/ingenic_x1000/sfc-x1000.h | |||
@@ -87,13 +87,13 @@ extern void sfc_irq_end(void); | |||
87 | extern void sfc_set_clock(uint32_t freq); | 87 | extern void sfc_set_clock(uint32_t freq); |
88 | 88 | ||
89 | /* Set the device configuration register */ | 89 | /* Set the device configuration register */ |
90 | inline void sfc_set_dev_conf(uint32_t conf) | 90 | static inline void sfc_set_dev_conf(uint32_t conf) |
91 | { | 91 | { |
92 | REG_SFC_DEV_CONF = conf; | 92 | REG_SFC_DEV_CONF = conf; |
93 | } | 93 | } |
94 | 94 | ||
95 | /* Control the state of the write protect pin */ | 95 | /* Control the state of the write protect pin */ |
96 | inline void sfc_set_wp_enable(bool en) | 96 | static inline void sfc_set_wp_enable(bool en) |
97 | { | 97 | { |
98 | jz_writef(SFC_GLB, WP_EN(en ? 1 : 0)); | 98 | jz_writef(SFC_GLB, WP_EN(en ? 1 : 0)); |
99 | } | 99 | } |