]> asedeno.scripts.mit.edu Git - linux.git/commit
greybus: interface: move route creation to interface activation
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 29 Mar 2016 22:56:04 +0000 (18:56 -0400)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 30 Mar 2016 21:17:40 +0000 (14:17 -0700)
commit4d5f6218886e5d363cf41af5c5a51045f2722e50
tree8027237c975682bbe16181e705a35babfd3eb1da
parentec199ccdd2a3c215f5088052377f08a5855f560e
greybus: interface: move route creation to interface activation

Creating and destroying a route to an interface is arguably an interface
operation and belongs with the interface code.

Add new interface_activate and interface_deactivate helpers that will be
used to activate and deactivate an interface in the new interface boot
sequence.

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