diff options
author | Alex Elder <elder@linaro.org> | 2015-08-03 12:57:09 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-08-03 20:11:48 -0700 |
commit | bfb287a17e79f8d9bd6a99cf79634c4493ad7028 (patch) | |
tree | 3fbcffe42cbf3894a7e3151e50b26d6ad595ee00 /drivers/staging/greybus/interface.h | |
parent | 5b559e64578783b944691f6f9e7c19812d2fced6 (diff) | |
download | op-kernel-dev-bfb287a17e79f8d9bd6a99cf79634c4493ad7028.zip op-kernel-dev-bfb287a17e79f8d9bd6a99cf79634c4493ad7028.tar.gz |
greybus: interface: declare gb_interface_destroy()
Add a public declaration for gb_interface_destroy(), matching
gb_interface_create().
It's not yet used outside "interface.c" but I suppose it
could be, and its scope is currently public.
Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/interface.h')
-rw-r--r-- | drivers/staging/greybus/interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h index 558e6db..e60a370 100644 --- a/drivers/staging/greybus/interface.h +++ b/drivers/staging/greybus/interface.h @@ -51,6 +51,7 @@ 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); +void gb_interface_destroy(struct gb_interface *intf); int gb_interface_init(struct gb_interface *intf, u8 device_id); void gb_interface_remove(struct greybus_host_device *hd, u8 interface_id); void gb_interfaces_remove(struct greybus_host_device *hd); |