summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/control.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2015-08-14 07:57:38 +0530
committerGreg Kroah-Hartman <gregkh@google.com>2015-08-14 14:34:14 -0700
commit0e2462d1b71b15790d37f9f66b01cdf1003a8e72 (patch)
tree56af03cd797381585fcb75b9860b16a2e141de93 /drivers/staging/greybus/control.c
parent435ea76218c9f3257990c6da8b37bf7708598f49 (diff)
downloadop-kernel-dev-0e2462d1b71b15790d37f9f66b01cdf1003a8e72.zip
op-kernel-dev-0e2462d1b71b15790d37f9f66b01cdf1003a8e72.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
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,
OpenPOWER on IntegriCloud