diff options
author | Philip Tricca <philip.b.tricca@intel.com> | 2018-01-08 16:52:09 -0800 |
---|---|---|
committer | Philip Tricca <philip.b.tricca@intel.com> | 2018-01-09 12:19:12 -0500 |
commit | 001e8bf2de610d4ccc74eee3267aa316f55a9b53 (patch) | |
tree | 37c21caefd166b69e04fd4503e0a8ad896c48f2d /include | |
parent | 0bc0ae73ed6bf55b41292be6d221985af482ca70 (diff) | |
download | tpm2-tss-001e8bf2de610d4ccc74eee3267aa316f55a9b53.tar.gz |
tcti-device: Move TCTI_DEVICE_DEFAULT macro to public header.
Update help string to reference the macro instead of the default device
path directly.
Signed-off-by: Philip Tricca <philip.b.tricca@intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/tcti/tcti_device.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/tcti/tcti_device.h b/include/tcti/tcti_device.h index d280aa41..e2c12f82 100644 --- a/include/tcti/tcti_device.h +++ b/include/tcti/tcti_device.h @@ -35,6 +35,8 @@ extern "C" { #include <sapi/tpm20.h> #include <tcti/common.h> +#define TCTI_DEVICE_DEFAULT "/dev/tpm0" + typedef struct { const char *device_path; } TCTI_DEVICE_CONF; |