aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorMatthias Fuchs2008-09-24 03:29:37 -0500
committerWolfgang Denk2008-10-14 07:58:09 -0500
commit3d0ea3110f3431b6c2aee882784f39f97b20bce9 (patch)
tree621139a3aed648af72cd87964d0740b995158ba0 /api
parentabbb90666d5ef2f500ebbedbb80ff60adc56b043 (diff)
downloadu-boot-3d0ea3110f3431b6c2aee882784f39f97b20bce9.tar.gz
u-boot-3d0ea3110f3431b6c2aee882784f39f97b20bce9.tar.xz
u-boot-3d0ea3110f3431b6c2aee882784f39f97b20bce9.zip
api: Fix building with CONFIG_API
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>
Diffstat (limited to 'api')
-rw-r--r--api/api_storage.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/api/api_storage.c b/api/api_storage.c
index 74391a59d0..5642dd33bc 100644
--- a/api/api_storage.c
+++ b/api/api_storage.c
@@ -30,6 +30,10 @@
30#include <common.h> 30#include <common.h>
31#include <api_public.h> 31#include <api_public.h>
32 32
33#if defined(CONFIG_CMD_USB) && defined(CONFIG_USB_STORAGE)
34#include <usb.h>
35#endif
36
33#define DEBUG 37#define DEBUG
34#undef DEBUG 38#undef DEBUG
35 39