greybus: Add flags to struct gb_protocol
[cascardo/linux.git] / drivers / staging / greybus / control.c
index e675c5c..c092beb 100644 (file)
@@ -130,5 +130,7 @@ static struct gb_protocol control_protocol = {
        .connection_init        = gb_control_connection_init,
        .connection_exit        = gb_control_connection_exit,
        .request_recv           = gb_control_request_recv,
+       .flags                  = GB_PROTOCOL_SKIP_CONTROL_CONNECTED |
+                                 GB_PROTOCOL_SKIP_CONTROL_DISCONNECTED,
 };
 gb_builtin_protocol_driver(control_protocol);