diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-07-26 13:54:28 -0300 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-08-26 21:56:34 +0200 |
commit | 76b6b196148dbd7201b297e73e4311a2ea3f16a9 (patch) | |
tree | d2a77df847ba0725a1b870e655cca10a6bc81392 /arch/arm/include | |
parent | c3904128ad8c85b91bf1df2ed4b38fa8a17f32a6 (diff) | |
download | u-boot-imx-76b6b196148dbd7201b297e73e4311a2ea3f16a9.zip u-boot-imx-76b6b196148dbd7201b297e73e4311a2ea3f16a9.tar.gz u-boot-imx-76b6b196148dbd7201b297e73e4311a2ea3f16a9.tar.bz2 |
usb: ehci-mx5: Use 'bool' instead of 'unsigned char'
The 'enable' argument can be better expressed as boolean.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-mx5/clock.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/include/asm/arch-mx5/clock.h b/arch/arm/include/asm/arch-mx5/clock.h index 406d150..9ee79ae 100644 --- a/arch/arm/include/asm/arch-mx5/clock.h +++ b/arch/arm/include/asm/arch-mx5/clock.h @@ -46,10 +46,10 @@ 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); void set_usb_phy_clk(void); -void enable_usb_phy1_clk(unsigned char enable); -void enable_usb_phy2_clk(unsigned char enable); +void enable_usb_phy1_clk(bool enable); +void enable_usb_phy2_clk(bool enable); void set_usboh3_clk(void); -void enable_usboh3_clk(unsigned char enable); +void enable_usboh3_clk(bool enable); void mxc_set_sata_internal_clock(void); int enable_i2c_clk(unsigned char enable, unsigned i2c_num); void enable_nfc_clk(unsigned char enable); |