mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-23 16:11:54 +00:00
arm: mx5: Correct mxc_set_clock function prototype
With gcc-13.1 we get a warning about enum vs int here, so correct the declaration to match the implementation. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
bfbab7b27e
commit
9ef4166ff9
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ enum mxc_clock {
|
|||
u32 imx_get_uartclk(void);
|
||||
u32 imx_get_fecclk(void);
|
||||
unsigned int mxc_get_clock(enum mxc_clock clk);
|
||||
int mxc_set_clock(u32 ref, u32 freq, u32 clk_type);
|
||||
int mxc_set_clock(u32 ref, u32 freq, enum mxc_clock clk);
|
||||
void set_usb_phy_clk(void);
|
||||
void enable_usb_phy1_clk(bool enable);
|
||||
void enable_usb_phy2_clk(bool enable);
|
||||
|
|
Loading…
Reference in a new issue