summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/operation.h
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2014-12-02 08:30:38 -0600
committerGreg Kroah-Hartman <greg@kroah.com>2014-12-02 14:44:11 -0800
commit0c90fff4e35c1322a52709f17d630431c7deb931 (patch)
tree8c43efbc5e1532f46d616e4ebf07506878430b58 /drivers/staging/greybus/operation.h
parentd4a1ff674dfbd120930dbd011773b3ae79385449 (diff)
downloadlinux-0c90fff4e35c1322a52709f17d630431c7deb931.tar.bz2
greybus: introduce gb_operation_errno_map()
Define gb_operation_errno_map(), which maps an operation->errno into the u8 value that represents it in the status field of an operation response header. It'll be used in an upcoming patch. Make gb_operation_status_map() a private function. It's not used outside "operation.c" and I don't believe it ever should be. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/operation.h')
-rw-r--r--drivers/staging/greybus/operation.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/greybus/operation.h b/drivers/staging/greybus/operation.h
index ed344f8de2a7..adaec7c43ea9 100644
--- a/drivers/staging/greybus/operation.h
+++ b/drivers/staging/greybus/operation.h
@@ -104,8 +104,6 @@ int gb_operation_response_send(struct gb_operation *operation, int errno);
void gb_operation_cancel(struct gb_operation *operation, int errno);
-int gb_operation_status_map(u8 status);
-
void greybus_data_sent(struct greybus_host_device *hd,
void *header, int status);