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/es2.c | |
parent | 06d8b7d9cf37c323aae23bfe97eabdebf0e94ce7 (diff) | |
download | linux-stable-c468999e6acd3e8330db7d18dca320f8b21bf074.tar.gz linux-stable-c468999e6acd3e8330db7d18dca320f8b21bf074.tar.bz2 linux-stable-c468999e6acd3e8330db7d18dca320f8b21bf074.zip |
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/es2.c')
-rw-r--r-- | drivers/staging/greybus/es2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/es2.c b/drivers/staging/greybus/es2.c index 2020187b5d16..0850b591500f 100644 --- a/drivers/staging/greybus/es2.c +++ b/drivers/staging/greybus/es2.c @@ -609,7 +609,7 @@ static int cport_reset(struct gb_host_device *hd, u16 cport_id) { struct es2_ap_dev *es2 = hd_to_es2(hd); struct usb_device *udev = es2->usb_dev; - struct arpc_cport_reset req; + struct arpc_cport_reset_req req; int retval; int result = 0; @@ -621,7 +621,7 @@ static int cport_reset(struct gb_host_device *hd, u16 cport_id) } req.cport_id = cpu_to_le16(cport_id); - retval = arpc_sync(es2, ARPC_CPORT_RESET, &req, sizeof(req), + retval = arpc_sync(es2, ARPC_TYPE_CPORT_RESET, &req, sizeof(req), &result, ES2_TIMEOUT); if (retval == -EREMOTEIO) { dev_err(&udev->dev, "failed to reset cport %u: %d\n", cport_id, |