commit | 19d03decd3415a7a0ec6c378720058f29f9568cc | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Wed Nov 05 16:12:53 2014 -0600 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Wed Nov 05 14:23:50 2014 -0800 |
tree | 62144f1c2c859ce4ee98f48febe96c5a4a04d12c | |
parent | dbb8894e0c3cf1661d83466faa277a8d436a1cba [diff] |
greybus: register preallocated protocols Set up protocol structures as static objects in each protocol source file. Pass the address of that in--rather than the protocol id and version information--to the protocol registration routine. Call a central routine to register all our pre-defined protocols. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>