diff options
author | 2016-01-19 12:50:59 +0100 | |
---|---|---|
committer | 2016-01-19 12:12:40 -0800 | |
commit | 5dda7e5a484295f24ecfcba6b64da6d37dccb912 (patch) | |
tree | 26040d496fb56eb285b3939677d59995f89d02a5 /drivers/staging/greybus/connection.c | |
parent | greybus: camera: Update configure stream based on new interface (diff) | |
download | linux-5dda7e5a484295f24ecfcba6b64da6d37dccb912.tar.gz linux-5dda7e5a484295f24ecfcba6b64da6d37dccb912.tar.bz2 linux-5dda7e5a484295f24ecfcba6b64da6d37dccb912.zip |
greybus: legacy: add legacy-protocol bundle driver
Add the first Greybus bundle driver that will be used when transitioning
from legacy Greybus protocols to bundle drivers.
The legacy-protocol driver initially binds to all current bundle classes.
In order to avoid having to update current module-loading scripts, keep
this driver internal to greybus core at least until modalias support is
added. Note that this prevents unloading any protocol drivers without
first tearing down the host device due to a circular module dependency.
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/connection.c')
-rw-r--r-- | drivers/staging/greybus/connection.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/greybus/connection.c b/drivers/staging/greybus/connection.c index 6295d28a4be4..21e6eb52c437 100644 --- a/drivers/staging/greybus/connection.c +++ b/drivers/staging/greybus/connection.c @@ -464,6 +464,7 @@ err_unbind_protocol: return ret; } +EXPORT_SYMBOL_GPL(gb_connection_init); void gb_connection_exit(struct gb_connection *connection) { @@ -482,6 +483,7 @@ void gb_connection_exit(struct gb_connection *connection) gb_connection_unbind_protocol(connection); } +EXPORT_SYMBOL_GPL(gb_connection_exit); /* * Tear down a previously set up connection. |