summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/interface.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@hovoldconsulting.com>2016-03-09 12:20:42 +0100
committerGreg Kroah-Hartman <gregkh@google.com>2016-03-10 13:57:42 -0800
commit35580af0bd620056506ed51fff024fc4ade66f67 (patch)
tree6344aa01e3af74148a481e4aed90938508160fc1 /drivers/staging/greybus/interface.h
parent66d674cfafb2be4002265e6081a1580d0ea461f7 (diff)
downloadop-kernel-dev-35580af0bd620056506ed51fff024fc4ade66f67.zip
op-kernel-dev-35580af0bd620056506ed51fff024fc4ade66f67.tar.gz
greybus: interface: rename initialisation function
Rename the interface-initialisation function gb_interface_enable(), which is more descriptive. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Jeffrey Carlyle <jcarlyle@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/interface.h')
-rw-r--r--drivers/staging/greybus/interface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h
index 7fc7d29..4b69e9e 100644
--- a/drivers/staging/greybus/interface.h
+++ b/drivers/staging/greybus/interface.h
@@ -47,7 +47,7 @@ struct gb_interface *gb_interface_find(struct gb_host_device *hd,
struct gb_interface *gb_interface_create(struct gb_host_device *hd,
u8 interface_id);
-int gb_interface_init(struct gb_interface *intf);
+int gb_interface_enable(struct gb_interface *intf);
int gb_interface_add(struct gb_interface *intf);
void gb_interface_remove(struct gb_interface *intf);
OpenPOWER on IntegriCloud