aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-07-13 20:37:33 -0400
committerTom Rini <trini@konsulko.com>2023-07-20 14:48:20 -0400
commit9ef4166ff99b1bb18d11be49f6ac9601d3b27506 (patch)
tree1053ea1111b350ea75ac0d6e1325e50113ecc76c /arch
parentbfbab7b27e14f7074ee27c9d584497beabd7ced1 (diff)
downloadu-boot-9ef4166ff99b1bb18d11be49f6ac9601d3b27506.zip
u-boot-9ef4166ff99b1bb18d11be49f6ac9601d3b27506.tar.gz
u-boot-9ef4166ff99b1bb18d11be49f6ac9601d3b27506.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/include/asm/arch-mx5/clock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-mx5/clock.h b/arch/arm/include/asm/arch-mx5/clock.h
index 63a5104..d585b5c 100644
--- a/arch/arm/include/asm/arch-mx5/clock.h
+++ b/arch/arm/include/asm/arch-mx5/clock.h
@@ -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);