summaryrefslogtreecommitdiffstats
path: root/drivers/char/tpm
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-03-25 12:07:35 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-25 17:22:55 +0100
commit276ad0c109e69a32b634f0550d096f9381135b7d (patch)
treed64a22accf781d9de98401954271de851a6be0b8 /drivers/char/tpm
parent[PATCH] collie: fix missing pcmcia bits (diff)
downloadlinux-276ad0c109e69a32b634f0550d096f9381135b7d.tar.xz
linux-276ad0c109e69a32b634f0550d096f9381135b7d.zip
[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 <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/tpm')
-rw-r--r--drivers/char/tpm/tpm.h1
1 files changed, 1 insertions, 0 deletions
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 <linux/fs.h>
#include <linux/miscdevice.h>
#include <linux/platform_device.h>
+#include <linux/io.h>
enum tpm_timeout {
TPM_TIMEOUT = 5, /* msecs */