greybus: operation: add helper for creating core operations
authorJohan Hovold <johan@hovoldconsulting.com>
Fri, 27 May 2016 15:26:35 +0000 (17:26 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 27 May 2016 19:21:16 +0000 (12:21 -0700)
commit18079ece816b3b272b114b770e636f4e5567b028
tree1e53c782df5333d13adb90a39cab6c42dce7b353
parent77bbbcf6d36d7ef2054a8b0dc8396cc0f092945e
greybus: operation: add helper for creating core operations

Add a new core operation flag and a helper that core can use to create
core operations.

This will be used to implement the ping operations that core sends as
part of connection tear down.

Note that a new trace point is also added.

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