summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/module.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2014-10-22 02:04:32 -0500
committerGreg Kroah-Hartman <greg@kroah.com>2014-10-22 17:22:22 +0800
commitc41b4f121240df46e5d901ad8aa9b9051b6c58e1 (patch)
treeecdce71ca5de3935ab367764abfc6ade618a9268 /drivers/staging/greybus/module.h
parent525f1467bc22ad7d0866444b3a57c21ba64a0dd2 (diff)
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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/greybus/module.h b/drivers/staging/greybus/module.h
index 82def46e5ab1..74ac4fdd3c83 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 */