diff options
author | Greg Kroah-Hartman <greg@kroah.com> | 2014-12-23 15:16:53 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <greg@kroah.com> | 2014-12-23 21:04:02 -0800 |
commit | fb69cb506c16d38de2c3b62ea4cf6e8728bd4348 (patch) | |
tree | c7e86e2980862d4a235320ad34af7dbb8960f618 /drivers/staging/greybus/bundle.h | |
parent | df469a942301c9bf4d939e1139c1a435079b288a (diff) |
greybus: protocol: split binding of prototcols to connections out of init
When adding a new protocol to the system, walk all bundles and try to
hook up any connections that do not have a protocol already. This sets
the stage to allow for protocols to be loaded at any time, not just
before the device is seen in the system.
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/bundle.h')
-rw-r--r-- | drivers/staging/greybus/bundle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/bundle.h b/drivers/staging/greybus/bundle.h index c3c66faac6fc..e11d456430ef 100644 --- a/drivers/staging/greybus/bundle.h +++ b/drivers/staging/greybus/bundle.h @@ -30,5 +30,6 @@ void gb_bundle_destroy(struct gb_interface *intf); int gb_bundle_init(struct gb_interface *intf, u8 module_id, u8 device_id); struct gb_bundle *gb_bundle_find(struct gb_interface *intf, u8 bundle_id); +void gb_bundle_bind_protocols(void); #endif /* __BUNDLE_H */ |