diff options
Diffstat (limited to 'src/include/device/smbus_def.h')
-rw-r--r-- | src/include/device/smbus_def.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/device/smbus_def.h b/src/include/device/smbus_def.h new file mode 100644 index 0000000000..971e9756a9 --- /dev/null +++ b/src/include/device/smbus_def.h @@ -0,0 +1,9 @@ +#ifndef DEVICE_SMBUS_DEF_H +#define DEVICE_SMBUS_DEF_H + +/* Error results are negative success is >= 0 */ +#define SMBUS_ERROR -1 +#define SMBUS_WAIT_UNTIL_READY_TIMEOUT -2 +#define SMBUS_WAIT_UNTIL_DONE_TIMEOUT -3 + +#endif /* DEVICE_SMBUS_DEF_H */ |