greybus: connection: prevent drivers from specifying core flags
authorJohan Hovold <johan@hovoldconsulting.com>
Wed, 22 Jun 2016 09:42:03 +0000 (11:42 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Fri, 24 Jun 2016 23:22:30 +0000 (16:22 -0700)
commit1ba30c33096ced9d5c5814acdc46f53f3864f4e6
treee09280ba6453cf4406d1d005f812887fceb718f4
parent6910fa2dd6dc0d81c6ec4a2f36d6e21bd27b4479
greybus: connection: prevent drivers from specifying core flags

Prevent drivers from specifying core flags (currently only
GB_CONNECTION_FLAG_CONTROL) when creating connections.

Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/connection.c
drivers/staging/greybus/connection.h