greybus: svc: register svc device at hello
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 25 Nov 2015 14:59:08 +0000 (15:59 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 25 Nov 2015 23:30:03 +0000 (15:30 -0800)
commit88f7b96da75f816ba022190d6076720562cac050
tree380477fdbe1cd0abd3c6f3d77ace7784f5e3e178
parent6106e51b742b32954351e6020cdb789bc33bf120
greybus: svc: register svc device at hello

Register the svc device upon reception of the HELLO request.

The SVC HELLO request contains the endo id and AP interface id, which
will be exposed from the svc device rather than the endo.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/core.c
drivers/staging/greybus/greybus.h
drivers/staging/greybus/svc.c
drivers/staging/greybus/svc.h