From: Viresh Kumar Date: Sat, 8 Aug 2015 04:55:40 +0000 (+0530) Subject: greybus: usb: Use (already defined) major/minor macros X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f514b5c31435909960fe32e309d7417c52629cc1;p=openwrt%2Fstaging%2Fblogic.git greybus: usb: Use (already defined) major/minor macros We already have macros for these, use them instead of writing fixed values. Signed-off-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/greybus/usb.c b/drivers/staging/greybus/usb.c index 50173b96f712..80c42b20adda 100644 --- a/drivers/staging/greybus/usb.c +++ b/drivers/staging/greybus/usb.c @@ -226,8 +226,8 @@ static void gb_usb_connection_exit(struct gb_connection *connection) static struct gb_protocol usb_protocol = { .name = "usb", .id = GREYBUS_PROTOCOL_USB, - .major = 0, - .minor = 1, + .major = GB_USB_VERSION_MAJOR, + .minor = GB_USB_VERSION_MINOR, .connection_init = gb_usb_connection_init, .connection_exit = gb_usb_connection_exit, .request_recv = NULL, /* FIXME we have requests!!! */