diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2016-03-09 12:20:34 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-03-10 13:57:42 -0800 |
commit | bb2533a9742f19bfe6b87b64d54e846674e467d1 (patch) | |
tree | 696db6885bb51ccbee406cf0c52989c7f548563f /drivers/staging/greybus/interface.h | |
parent | 60269b958ea127a46be9caf0deff931384c4dd2f (diff) | |
download | op-kernel-dev-bb2533a9742f19bfe6b87b64d54e846674e467d1.zip op-kernel-dev-bb2533a9742f19bfe6b87b64d54e846674e467d1.tar.gz |
greybus: svc: refactor interface-route creation
Add interface-route-create helper to allocate an interface device id and
setup the route.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Jeffrey Carlyle <jcarlyle@google.com>
Reviewed-by: Viresh Kumar <viresh.kumar@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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/interface.h b/drivers/staging/greybus/interface.h index ebc51fc..8d48cfa 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, u8 device_id); +int gb_interface_init(struct gb_interface *intf); void gb_interface_remove(struct gb_interface *intf); void gb_interfaces_remove(struct gb_host_device *hd); |