diff options
author | Johan Hovold <johan@hovoldconsulting.com> | 2016-08-03 14:09:31 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@google.com> | 2016-08-03 15:42:38 +0200 |
commit | c468999e6acd3e8330db7d18dca320f8b21bf074 (patch) | |
tree | 51d7ecf6dbae45818b35f5f7cade3a2b248ecd97 /drivers/staging/greybus/greybus_protocols.h | |
parent | 06d8b7d9cf37c323aae23bfe97eabdebf0e94ce7 (diff) | |
download | op-kernel-dev-c468999e6acd3e8330db7d18dca320f8b21bf074.zip op-kernel-dev-c468999e6acd3e8330db7d18dca320f8b21bf074.tar.gz |
greybus: es2: clean up ARPC symbol names
Add a _req suffix to request message structures, and a _TYPE_ infix to
request type defines.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Diffstat (limited to 'drivers/staging/greybus/greybus_protocols.h')
-rw-r--r-- | drivers/staging/greybus/greybus_protocols.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h index d8f8194..8484f05 100644 --- a/drivers/staging/greybus/greybus_protocols.h +++ b/drivers/staging/greybus/greybus_protocols.h @@ -292,9 +292,9 @@ struct arpc_response_message { __u8 result; /* Result of RPC */ } __packed; -#define ARPC_CPORT_RESET 0x00 +#define ARPC_TYPE_CPORT_RESET 0x00 -struct arpc_cport_reset { +struct arpc_cport_reset_req { __le16 cport_id; } __packed; |