]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
ehci-atmel: fix compiler warning
authorAndreas Bießmann <andreas.devel@googlemail.com>
Thu, 28 Jun 2012 02:50:37 +0000 (02:50 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Jul 2012 12:07:30 +0000 (14:07 +0200)
commit81f40345d1d5c5ba04620873e3ca0bc60b6b2fe0
tree64973c472afc6d7535f8c3682c0b25a67dffd478
parente1edd06594f41a53cbc3344db78b3093ccb84bf3
ehci-atmel: fix compiler warning

Commit 7a101e946cba55e32d3d1265e30456c810046da3 introduced following warning:
---8<---
ehci-atmel.c: In function 'ehci_hcd_init':
ehci-atmel.c:49:2: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
ehci-atmel.c: In function 'ehci_hcd_stop':
ehci-atmel.c:79:2: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses]
--->8---

This patch fixes it.

Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
cc: Bo Shen <voice.shen@atmel.com>
cc: Marek Vasut <marex@denx.de>
drivers/usb/host/ehci-atmel.c