OSDN Git Service

greybus: connection: Allow a bundle-less connection
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 21 Jul 2015 12:14:16 +0000 (17:44 +0530)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 22 Jul 2015 17:11:05 +0000 (10:11 -0700)
commit75662e5ca9e0d85fd3e94e51712e79c18c10064f
treebf12c2223d8f63257b0a8ca23fd04823710aa6b6
parent007f979216bda08bb899c78d4f20c229d5fe6845
greybus: connection: Allow a bundle-less connection

We need a bundle-less connection for AP's SVC protocol, as that will be
used much before the endo layout and interface-id of the AP is known to
greybus core.

This updates gb_connection_create_range() to take few more arguments,
which were earlier fetched from the 'bundle' pointer.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c
drivers/staging/greybus/connection.h