diff options
author | Alex Elder <elder@linaro.org> | 2014-12-10 08:43:33 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <greg@kroah.com> | 2014-12-10 10:36:29 -0500 |
commit | aa26351d0bb5b3ecf9bccacc9b05209b3d2af8ca (patch) | |
tree | ba6b0df4304ded2bd32a029a22ab953ad1b011dd /drivers/staging/greybus/operation.h | |
parent | 5f474d49436134e0f36d7bc3fb10babebc5e824f (diff) | |
download | op-kernel-dev-aa26351d0bb5b3ecf9bccacc9b05209b3d2af8ca.zip op-kernel-dev-aa26351d0bb5b3ecf9bccacc9b05209b3d2af8ca.tar.gz |
greybus: define GB_OP_NONEXISTENT
The i2c protocol needs a way to indicate an i2c device doesn't exist
(which is not necessarily an error). Define GB_OP_NONEXISTENT to
indicate this, and updating the status<->errno mapping functions
accordingly.
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/greybus/operation.h b/drivers/staging/greybus/operation.h index a173aa9..1ade52b 100644 --- a/drivers/staging/greybus/operation.h +++ b/drivers/staging/greybus/operation.h @@ -34,6 +34,7 @@ enum gb_operation_result { GB_OP_OVERFLOW = 0x05, GB_OP_INVALID = 0x06, GB_OP_RETRY = 0x07, + GB_OP_NONEXISTENT = 0x08, GB_OP_UNKNOWN_ERROR = 0xfe, GB_OP_MALFUNCTION = 0xff, }; |