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 /drivers | |
| parent | c3904128ad8c85b91bf1df2ed4b38fa8a17f32a6 (diff) | |
| download | olio-uboot-2014.01-76b6b196148dbd7201b297e73e4311a2ea3f16a9.tar.xz olio-uboot-2014.01-76b6b196148dbd7201b297e73e4311a2ea3f16a9.zip | |
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 'drivers')
| -rw-r--r-- | drivers/usb/host/ehci-mx5.c | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/drivers/usb/host/ehci-mx5.c b/drivers/usb/host/ehci-mx5.c index a397d2409..dd11f535a 100644 --- a/drivers/usb/host/ehci-mx5.c +++ b/drivers/usb/host/ehci-mx5.c @@ -223,10 +223,10 @@ int ehci_hcd_init(int index, struct ehci_hccr **hccr, struct ehci_hcor **hcor)  	struct usb_ehci *ehci;  	set_usboh3_clk(); -	enable_usboh3_clk(1); +	enable_usboh3_clk(true);  	set_usb_phy_clk(); -	enable_usb_phy1_clk(1); -	enable_usb_phy2_clk(1); +	enable_usb_phy1_clk(true); +	enable_usb_phy2_clk(true);  	mdelay(1);  	/* Do board specific initialization */ |