summaryrefslogtreecommitdiff
path: root/include/usb_mass_storage.h
diff options
context:
space:
mode:
authorMateusz Zalega <m.zalega@samsung.com>2014-04-28 21:13:28 +0200
committerLukasz Majewski <l.majewski@samsung.com>2014-05-05 08:21:47 +0200
commitc4d0e856047f2689278ffea63a562c4f22a35ee3 (patch)
treeae6a7cb91039b0ffa70ae0ebcb4618896d5d725c /include/usb_mass_storage.h
parentfad8edf0f72b8aba8885d2d137ebb58b3428806a (diff)
USB: gadget: added a saner gadget downloader registration API
Preprocessor definitions and hardcoded implementation selection in g_dnl core were replaced by a linker list made of (usb_function_name, bind_callback) pairs. Signed-off-by: Mateusz Zalega <m.zalega@samsung.com> Acked-by: Lukasz Majewski <l.majewski@samsung.com> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/usb_mass_storage.h')
-rw-r--r--include/usb_mass_storage.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/usb_mass_storage.h b/include/usb_mass_storage.h
index 058dcf1174..ed460644c1 100644
--- a/include/usb_mass_storage.h
+++ b/include/usb_mass_storage.h
@@ -40,13 +40,5 @@ int fsg_init(struct ums *);
void fsg_cleanup(void);
struct ums *ums_init(unsigned int);
int fsg_main_thread(void *);
-
-#ifdef CONFIG_USB_GADGET_MASS_STORAGE
int fsg_add(struct usb_configuration *c);
-#else
-int fsg_add(struct usb_configuration *c)
-{
- return 0;
-}
-#endif
#endif /* __USB_MASS_STORAGE_H__ */