aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/tpm/tpm20.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/tpm/tpm20.h')
-rw-r--r--sys/dev/tpm/tpm20.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/tpm/tpm20.h b/sys/dev/tpm/tpm20.h
index 7c2ccd30143a..b2cfcd4f25bd 100644
--- a/sys/dev/tpm/tpm20.h
+++ b/sys/dev/tpm/tpm20.h
@@ -128,7 +128,7 @@ struct tpm_sc {
lwpid_t owner_tid;
struct callout discard_buffer_callout;
-#ifdef TPM_HARVEST
+#if defined TPM_HARVEST || defined RANDOM_ENABLE_TPM
struct timeout_task harvest_task;
#endif