commit | 937d0da83ffde769f24b5124d66f793045c5da10 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Fri Oct 03 14:14:25 2014 -0500 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Fri Oct 03 19:00:10 2014 -0700 |
tree | 7abfcf4adedf9ba7497047672900fcb7438ed136 | |
parent | 177404bd20fdabd77d04ad818d56ab34150fff4c [diff] |
greybus: fix module setup The code that was setting up a module was not properly initializing the module data structure. Fixing this required a little rework. Now gb_add_module() (which the host device pointer and module id) allocates and initializes the structure, and passes it to gb_manifest_parse() for populating it further. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>