diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2010-09-22 23:42:32 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2010-09-22 23:42:32 +0000 |
commit | a34a0b1876948d34c8f7d49f224998a6dfc7755a (patch) | |
tree | 46259f7a7abfeea04b1b9f8fe382311f43bfae94 /src/include/usbdebug.h | |
parent | 7df50a8b0ead14610134e57b05a81340febd8db8 (diff) |
Fix a compiler warning in src/lib/usbdebug.c (trivial).
The 'delay' variable shadows the global 'delay()' function, yielding
this compiler warning/error:
src/pc80/../lib/usbdebug.c: In function `ehci_reset_port':
src/pc80/../lib/usbdebug.c:281: error: declaration of `delay' shadows a global declaration
src/lib/delay.c:9: error: shadowed declaration is here
This fixes the issue by renaming the 'delay' variable to 'delay_ms'.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5826 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include/usbdebug.h')
0 files changed, 0 insertions, 0 deletions