OSDN Git Service

greybus: es2.c: create dedicated struct for cport_in and cport_out
authorAlexandre Bailon <abailon@baylibre.com>
Mon, 15 Jun 2015 16:08:12 +0000 (18:08 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 15 Jun 2015 23:51:44 +0000 (16:51 -0700)
commitddc09acd469523dc4a15bce30103743d243bc9ba
tree65ef944e45a9ebd560355e8075ec04057a10a7c7
parent611c17390e7b47b3f311a9304439eaa4de94dbae
greybus: es2.c: create dedicated struct for cport_in and cport_out

Instead of keep cport buffers, urbs and endpoints in es1_ap_dev,
move them in two dedicated struct (es1_cport_in and es1_cport_out),
in order to ease the migration to es2 (increase the number of endpoint).

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