summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/interface.h
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-07-24 15:32:22 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-07-24 16:33:20 -0700
commit23119de4e69c8a96f10de4bcc62d3751e7d77eb4 (patch)
treeee021226826c1a5ef7efd49d10fbdde462299cf2 /drivers/staging/greybus/interface.h
parentb45864d40ca6f453a708d1e74c2108424ac15bdb (diff)
greybus: interface: localize gb_interface_destroy()
Its not referenced by svc or any other code anymore, lets stop exposing it to rest of the files. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Tested-by: Perry Hung <perry@leaflabs.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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h
index fc2d29fc7ddb..558e6dbaa26b 100644
--- a/drivers/staging/greybus/interface.h
+++ b/drivers/staging/greybus/interface.h
@@ -52,7 +52,6 @@ struct gb_interface *gb_interface_find(struct greybus_host_device *hd,
struct gb_interface *gb_interface_create(struct greybus_host_device *hd,
u8 interface_id);
int gb_interface_init(struct gb_interface *intf, u8 device_id);
-void gb_interface_destroy(struct gb_interface *intf);
void gb_interface_remove(struct greybus_host_device *hd, u8 interface_id);
void gb_interfaces_remove(struct greybus_host_device *hd);