Skip to content
Snippets Groups Projects
Commit 3d0ea311 authored by Matthias Fuchs's avatar Matthias Fuchs Committed by Wolfgang Denk
Browse files

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: default avatarMatthias Fuchs <matthias.fuchs@esd-electronics.com>
parent abbb9066
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment