Commit 06e305f1 authored by Viresh Kumar's avatar Viresh Kumar Committed by Greg Kroah-Hartman

greybus: svc: Use macro's for major/minor numbers

We have already defined macro's for SVC's major/minor numbers, lets use
them.
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: default avatarAlex Elder <elder@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
parent 7eb8919b
...@@ -233,8 +233,8 @@ static void gb_svc_connection_exit(struct gb_connection *connection) ...@@ -233,8 +233,8 @@ static void gb_svc_connection_exit(struct gb_connection *connection)
static struct gb_protocol svc_protocol = { static struct gb_protocol svc_protocol = {
.name = "svc", .name = "svc",
.id = GREYBUS_PROTOCOL_SVC, .id = GREYBUS_PROTOCOL_SVC,
.major = 0, .major = GB_SVC_VERSION_MAJOR,
.minor = 1, .minor = GB_SVC_VERSION_MINOR,
.connection_init = gb_svc_connection_init, .connection_init = gb_svc_connection_init,
.connection_exit = gb_svc_connection_exit, .connection_exit = gb_svc_connection_exit,
.request_recv = gb_svc_request_recv, .request_recv = gb_svc_request_recv,
......
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