OSDN Git Service

greybus: endo: pass endo_id to gb_endo_create()
authorAlex Elder <elder@linaro.org>
Fri, 22 May 2015 14:52:43 +0000 (09:52 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 23 May 2015 23:31:42 +0000 (16:31 -0700)
commitee3ecf80284d973e491e653f74b2fd936c50bd2c
treeae47a90ac53d5766d6bb0162c8f995fde5e04cb3
parenta702a09f20be5f52ea1789b92a228592f4777084
greybus: endo: pass endo_id to gb_endo_create()

We are going to want to defer creating the endo until we receive a
probe operation from the SVC, which will supply the endo id.  Change
gb_endo_create() so it passes the endo_id value as an argument.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/core.c
drivers/staging/greybus/endo.c
drivers/staging/greybus/endo.h