From 0e2462d1b71b15790d37f9f66b01cdf1003a8e72 Mon Sep 17 00:00:00 2001 From: Viresh Kumar Date: Fri, 14 Aug 2015 07:57:38 +0530 Subject: greybus: Drop protocol specific _PROTOCOL_VERSION and _INVALID macros Greybus core supports protocol independent macros for this now, use them. Signed-off-by: Viresh Kumar Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/staging/greybus/control.c') diff --git a/drivers/staging/greybus/control.c b/drivers/staging/greybus/control.c index 605e6134..e675c5c 100644 --- a/drivers/staging/greybus/control.c +++ b/drivers/staging/greybus/control.c @@ -71,7 +71,7 @@ static int gb_control_request_recv(u8 type, struct gb_operation *op) // Send authenticated block of data, confirming this module is // an AP. break; - case GB_CONTROL_TYPE_PROTOCOL_VERSION: + case GB_REQUEST_TYPE_PROTOCOL_VERSION: if (!gb_operation_response_alloc(op, sizeof(*version), GFP_KERNEL)) { dev_err(&connection->dev, -- cgit v1.1