stm32f4: rcc: move deprecated attribute to header

This makes it actually generate deprecated warnings.  The deprecated
doxygen stays with the .c file as before.
This commit is contained in:
Karl Palsson
2019-06-02 12:50:34 +00:00
parent a9dde2832e
commit f990030440
2 changed files with 5 additions and 3 deletions

View File

@@ -1100,7 +1100,7 @@ void rcc_set_main_pll_hse(uint32_t pllm, uint32_t plln, uint32_t pllp,
uint32_t pllq, uint32_t pllr);
uint32_t rcc_system_clock_source(void);
void rcc_clock_setup_pll(const struct rcc_clock_scale *clock);
void rcc_clock_setup_hse_3v3(const struct rcc_clock_scale *clock);
void __attribute__((deprecated)) rcc_clock_setup_hse_3v3(const struct rcc_clock_scale *clock);
END_DECLS