mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 13:59:45 -04:00
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: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7eb8919b0f
commit
06e305f1e3
@@ -233,8 +233,8 @@ static void gb_svc_connection_exit(struct gb_connection *connection)
|
||||
static struct gb_protocol svc_protocol = {
|
||||
.name = "svc",
|
||||
.id = GREYBUS_PROTOCOL_SVC,
|
||||
.major = 0,
|
||||
.minor = 1,
|
||||
.major = GB_SVC_VERSION_MAJOR,
|
||||
.minor = GB_SVC_VERSION_MINOR,
|
||||
.connection_init = gb_svc_connection_init,
|
||||
.connection_exit = gb_svc_connection_exit,
|
||||
.request_recv = gb_svc_request_recv,
|
||||
|
||||
Reference in New Issue
Block a user