api: Fix building with CONFIG_API
PATCH 1/1 api: Fix building with CONFIG_API
This patch fixes building with CONFIG_API and COFNIG_USB_STORAGE.
USB_MAX_STOR_DEV is defined in include/usb.h, but
needed in api/api_storage.c.
Signed-off-by Matthias Fuchs <[email protected]>
--- api/api_storage.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
api/api_storage.c +4 -0
@@ -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
Signature · 1 line
1.5.3
Wolfgang Denk
AppliedPATCH 1/1 api: Fix building with CONFIG_API
Dear Matthias Fuchs,
Quoted 9 lines · In message <[email protected]> you wrote:
This patch fixes building with
CONFIG_APIandCOFNIG_USB_STORAGE.
USB_MAX_STOR_DEVis defined ininclude/usb.h, but
needed inapi/api_storage.c.Signed-off-by Matthias Fuchs <[email protected]>--- api/api_storage.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 4 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "It's like deja vu all over again." - Yogi Berra