greybus: Greybus driver: add a new callbacks to driver
authorAlexandre Bailon <abailon@baylibre.com>
Fri, 4 Sep 2015 14:55:40 +0000 (16:55 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 4 Sep 2015 21:49:09 +0000 (14:49 -0700)
commit8afd831ea00822fdc811ff640ef62352619d64c0
tree30436645f24303a6d7806b13214f508ab76022c6
parent2111134fe413311ea2e89c7ffc66abb68ada5982
greybus: Greybus driver: add a new callbacks to driver

Add connection_create and connection_destroy callbacks.

ES2 can map a cport to a pair of endpoints.
Because ES2 have only a few pair of endpoints, ES2 need to have
access to some high level connection information such as protocol id
to effectively map the cports.
These callback will provide these information and help ES2 to map cports.

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