From: Andrew Morton Date: Sat, 25 Mar 2006 11:07:35 +0000 (-0800) Subject: [PATCH] tpm: sparc32 build fix X-Git-Tag: firefly_0821_release~37223 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=276ad0c109e69a32b634f0550d096f9381135b7d;p=firefly-linux-kernel-4.4.55.git [PATCH] tpm: sparc32 build fix In file included from drivers/char/tpm/tpm_nsc.c:23: drivers/char/tpm/tpm.h: In function `tpm_read_index': drivers/char/tpm/tpm.h:92: warning: implicit declaration of function `outb' drivers/char/tpm/tpm.h:93: warning: implicit declaration of function `inb' Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/tpm/tpm.h b/drivers/char/tpm/tpm.h index fd3a4beaa53d..dec0224b4478 100644 --- a/drivers/char/tpm/tpm.h +++ b/drivers/char/tpm/tpm.h @@ -24,6 +24,7 @@ #include #include #include +#include enum tpm_timeout { TPM_TIMEOUT = 5, /* msecs */