diff options
author | Mateusz Zalega <m.zalega@samsung.com> | 2014-04-28 21:13:28 +0200 |
---|---|---|
committer | Lukasz Majewski <l.majewski@samsung.com> | 2014-05-05 08:21:47 +0200 |
commit | c4d0e856047f2689278ffea63a562c4f22a35ee3 (patch) | |
tree | ae6a7cb91039b0ffa70ae0ebcb4618896d5d725c /include/thor.h | |
parent | fad8edf0f72b8aba8885d2d137ebb58b3428806a (diff) | |
download | u-boot-c4d0e856047f2689278ffea63a562c4f22a35ee3.tar.gz u-boot-c4d0e856047f2689278ffea63a562c4f22a35ee3.tar.bz2 u-boot-c4d0e856047f2689278ffea63a562c4f22a35ee3.zip |
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/thor.h')
-rw-r--r-- | include/thor.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/thor.h b/include/thor.h index afeade4564..5051be714b 100644 --- a/include/thor.h +++ b/include/thor.h @@ -15,13 +15,5 @@ int thor_handle(void); int thor_init(void); - -#ifdef CONFIG_THOR_FUNCTION int thor_add(struct usb_configuration *c); -#else -int thor_add(struct usb_configuration *c) -{ - return 0; -} -#endif #endif /* __THOR_H_ */ |