diff options
author | Alex Elder <elder@linaro.org> | 2014-10-22 02:04:32 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <greg@kroah.com> | 2014-10-22 17:22:22 +0800 |
commit | c41b4f121240df46e5d901ad8aa9b9051b6c58e1 (patch) | |
tree | ecdce71ca5de3935ab367764abfc6ade618a9268 /drivers/staging/greybus/module.h | |
parent | 525f1467bc22ad7d0866444b3a57c21ba64a0dd2 (diff) | |
download | op-kernel-dev-c41b4f121240df46e5d901ad8aa9b9051b6c58e1.zip op-kernel-dev-c41b4f121240df46e5d901ad8aa9b9051b6c58e1.tar.gz |
greybus: only initialize interfaces when up
Rather than bringing up all interfaces described in the manifest,
wait until we get a link up message, and at that time go initialize
the link.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/module.h')
-rw-r--r-- | drivers/staging/greybus/module.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/greybus/module.h b/drivers/staging/greybus/module.h index 82def46..74ac4fd 100644 --- a/drivers/staging/greybus/module.h +++ b/drivers/staging/greybus/module.h @@ -55,6 +55,7 @@ void gb_module_destroy(struct gb_module *module); struct gb_module *gb_module_find(struct greybus_host_device *hd, u8 module_id); -void gb_module_interfaces_init(struct gb_module *gmod); +int gb_module_interface_init(struct gb_module *gmod, u8 module_id, + u8 device_id); #endif /* __MODULE_H */ |