diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-08-14 07:57:38 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2015-08-14 14:34:14 -0700 |
commit | 0e2462d1b71b15790d37f9f66b01cdf1003a8e72 (patch) | |
tree | 56af03cd797381585fcb75b9860b16a2e141de93 /drivers/staging/greybus/control.c | |
parent | 435ea76218c9f3257990c6da8b37bf7708598f49 (diff) |
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 <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/control.c')
-rw-r--r-- | drivers/staging/greybus/control.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/greybus/control.c b/drivers/staging/greybus/control.c index 605e6134d564..e675c5c89123 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, |