greybus: define BUNDLE_ID_NONE
authorAlex Elder <elder@linaro.org>
Fri, 3 Jun 2016 20:55:30 +0000 (15:55 -0500)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 4 Jun 2016 00:03:23 +0000 (17:03 -0700)
commit76639ef579012a1276043ed765a14170997155b2
tree31e1a33e5b2f8b1ff54d74b14aec57392c89ca62
parente5f23c45841ff371e4e515e8c5395fc659017930
greybus: define BUNDLE_ID_NONE

Define a bundle ID that means "no bundle".  This will be used for
tracing connection events during the portion of a connection's
lifetime when it has no bundle associated with it.  Don't allow
any bundle to be created using that ID.

Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/bundle.c
drivers/staging/greybus/bundle.h