Commit 5b22521c authored by Viresh Kumar's avatar Viresh Kumar Committed by Greg Kroah-Hartman

greybus: control: Use Macro's instead of direct values for major/minor

We already have macro's defined for this, use them.
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 166f0aed
......@@ -126,8 +126,8 @@ static void gb_control_connection_exit(struct gb_connection *connection)
static struct gb_protocol control_protocol = {
.name = "control",
.id = GREYBUS_PROTOCOL_CONTROL,
.major = 0,
.minor = 1,
.major = GB_CONTROL_VERSION_MAJOR,
.minor = GB_CONTROL_VERSION_MINOR,
.connection_init = gb_control_connection_init,
.connection_exit = gb_control_connection_exit,
.flags = GB_PROTOCOL_SKIP_CONTROL_CONNECTED |
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment