diff options
author | Chris Wright <chrisw@osdl.org> | 2005-11-01 02:44:28 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-02 00:44:45 -0500 |
commit | faba278fb003dbe772f6c04526f1f096f43c995e (patch) | |
tree | f47e47f0f27eee1c2911b8b6df1737f813c655ef /drivers | |
parent | 01824853b1991b6ade506ee1b75f103a6eb8f558 (diff) |
[PATCH] TPM compile fix
CC drivers/char/tpm/tpm_nsc.o
drivers/char/tpm/tpm_nsc.c:277: error: `platform_bus_type' undeclared here (not in a function)
...
CC drivers/char/tpm/tpm_atmel.o
drivers/char/tpm/tpm_atmel.c:175: error: `platform_bus_type' undeclared here (not in a function)
Make sure to include proper headers.
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/tpm/tpm_atmel.c | 1 | ||||
-rw-r--r-- | drivers/char/tpm/tpm_nsc.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/char/tpm/tpm_atmel.c b/drivers/char/tpm/tpm_atmel.c index 8cb42e84723c..32e01450c425 100644 --- a/drivers/char/tpm/tpm_atmel.c +++ b/drivers/char/tpm/tpm_atmel.c | |||
@@ -19,6 +19,7 @@ | |||
19 | * | 19 | * |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <linux/platform_device.h> | ||
22 | #include "tpm.h" | 23 | #include "tpm.h" |
23 | 24 | ||
24 | /* Atmel definitions */ | 25 | /* Atmel definitions */ |
diff --git a/drivers/char/tpm/tpm_nsc.c b/drivers/char/tpm/tpm_nsc.c index 253871b5b1e2..8d125c974a2d 100644 --- a/drivers/char/tpm/tpm_nsc.c +++ b/drivers/char/tpm/tpm_nsc.c | |||
@@ -19,6 +19,7 @@ | |||
19 | * | 19 | * |
20 | */ | 20 | */ |
21 | 21 | ||
22 | #include <linux/platform_device.h> | ||
22 | #include "tpm.h" | 23 | #include "tpm.h" |
23 | 24 | ||
24 | /* National definitions */ | 25 | /* National definitions */ |