commit | 8143f226a19015c920386325a22f0d44e04943a3 | [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 | 34264232f52570784d8aa05f7035bc0d46616dae [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>