projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scsi: Make private functions static
[platform/kernel/u-boot.git]
/
common
/
splash_source.c
diff --git
a/common/splash_source.c
b/common/splash_source.c
index
914f12f
..
230b2db
100644
(file)
--- a/
common/splash_source.c
+++ b/
common/splash_source.c
@@
-146,7
+146,11
@@
static int splash_init_usb(void)
if (err)
return err;
- return usb_stor_scan(1) < 0 ? -ENODEV : 0;
+#ifndef CONFIG_DM_USB
+ err = usb_stor_scan(1) < 0 ? -ENODEV : 0;
+#endif
+
+ return err;
}
#else
static inline int splash_init_usb(void)