summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/interface.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2014-11-14 17:25:08 +0530
committerGreg Kroah-Hartman <greg@kroah.com>2014-11-14 13:49:04 -0800
commit2206ea9cf8c56a0b98db3498ae5b6642a995a0a8 (patch)
tree872cec37ee118b3ad506c2399dd005061f71dc9b /drivers/staging/greybus/interface.h
parent676daaf45869e810dcbe97cf6996f7c8e2fb7d32 (diff)
greybus: interface: move gb_module_interface_init() to interface.c
That's where it belong to. Also rename it in a similar way to: gb_interface_create() and gb_interface_destroy(). Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/interface.h')
-rw-r--r--drivers/staging/greybus/interface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h
index 50b0317d267e..bfd1781786ac 100644
--- a/drivers/staging/greybus/interface.h
+++ b/drivers/staging/greybus/interface.h
@@ -24,6 +24,7 @@ struct gb_interface {
struct gb_interface *gb_interface_create(struct gb_module *gmod, u8 module_id);
void gb_interface_destroy(struct gb_module *gmod);
+int gb_interface_init(struct gb_module *gmod, u8 module_id, u8 device_id);
struct gb_interface *gb_interface_find(struct gb_module *gmod, u8 interface_id);