projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abbb906
)
api: Fix building with CONFIG_API
author
Matthias Fuchs
<matthias.fuchs@esd-electronics.com>
Wed, 24 Sep 2008 08:29:37 +0000
(10:29 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Tue, 14 Oct 2008 12:58:09 +0000
(14:58 +0200)
This patch fixes building with CONFIG_API and CONFIG_USB_STORAGE.
USB_MAX_STOR_DEV is defined in include/usb.h, but
needed in api/api_storage.c.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
api/api_storage.c
patch
|
blob
|
history
diff --git
a/api/api_storage.c
b/api/api_storage.c
index 74391a59d083108ed4c19b6b34dd1e095f82489a..5642dd33bc32c71265e1d470e767c214d821cf1d 100644
(file)
--- a/
api/api_storage.c
+++ b/
api/api_storage.c
@@
-30,6
+30,10
@@
#include <common.h>
#include <api_public.h>
+#if defined(CONFIG_CMD_USB) && defined(CONFIG_USB_STORAGE)
+#include <usb.h>
+#endif
+
#define DEBUG
#undef DEBUG