diff options
author | Bryan Wu <bryan.wu@analog.com> | 2009-01-18 23:04:27 -0500 |
---|---|---|
committer | Remy Bohmer <linux@bohmer.net> | 2009-01-28 19:57:31 +0100 |
commit | 1a448db77b10153703bc5e4ad13dd55d88beb1d6 (patch) | |
tree | 6bc5d9ff55800b66de1a36005dc5f6a03d2f3601 /include/lh7a40x.h | |
parent | f1c1f540243438246aefb703fdcf16957e3a72e1 (diff) | |
download | blackbird-obmc-uboot-1a448db77b10153703bc5e4ad13dd55d88beb1d6.tar.gz blackbird-obmc-uboot-1a448db77b10153703bc5e4ad13dd55d88beb1d6.zip |
usb_scan_devices: fix output with no devices
We should check the return of usb_new_device() so that if no USB device is
found, we print out the right message rather than always saying "new usb
device found".
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'include/lh7a40x.h')
0 files changed, 0 insertions, 0 deletions