commit | 7b412ab31fe7957eabbfa86c131679fb244d7079 | [log] [tgz] |
---|---|---|
author | Lukasz Majewski <l.majewski@samsung.com> | Tue Oct 08 14:30:40 2013 +0200 |
committer | Marek Vasut <marex@denx.de> | Sun Oct 20 23:42:40 2013 +0200 |
tree | 5b39b7cc22a92e8ef80ca6cf536c811392bc2878 | |
parent | d42782631d59ea12251629bb827f725ef4dfddf6 [diff] |
usb:g_dnl: Replace static usb_configuration structure with dynamically allocated one When the usb_configuration structure is declared as static, it is very hard to assure, that relevant fields (as e.g. config->interfaces[]) are cleared out before new call to g_dnl related functions. Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>