From: Viresh Kumar Date: Wed, 1 Jul 2015 06:43:51 +0000 (+0530) Subject: greybus: svc: Use macro's for major/minor numbers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=06e305f1e377a6a4e658bd165e20af4c099fb76a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Reviewed-by: Alex Elder Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/svc.c b/drivers/staging/greybus/svc.c index cd87045ba104..75b333783941 100644 --- a/drivers/staging/greybus/svc.c +++ b/drivers/staging/greybus/svc.c @@ -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,