* [PATCH] TPM compile fix
@ 2005-10-31 23:33 Chris Wright
2005-11-01 14:24 ` Kylene Jo Hall
0 siblings, 1 reply; 2+ messages in thread
From: Chris Wright @ 2005-10-31 23:33 UTC (permalink / raw)
To: kjhall; +Cc: linux-kernel, torvalds, akpm
Current tree doesn't build (at least on x86_64) due to TPM breakage:
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>
---
diff --git a/drivers/char/tpm/tpm_atmel.c b/drivers/char/tpm/tpm_atmel.c
--- a/drivers/char/tpm/tpm_atmel.c
+++ b/drivers/char/tpm/tpm_atmel.c
@@ -19,6 +19,7 @@
*
*/
+#include <linux/platform_device.h>
#include "tpm.h"
/* Atmel definitions */
diff --git a/drivers/char/tpm/tpm_nsc.c b/drivers/char/tpm/tpm_nsc.c
--- a/drivers/char/tpm/tpm_nsc.c
+++ b/drivers/char/tpm/tpm_nsc.c
@@ -19,6 +19,7 @@
*
*/
+#include <linux/platform_device.h>
#include "tpm.h"
/* National definitions */
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] TPM compile fix
2005-10-31 23:33 [PATCH] TPM compile fix Chris Wright
@ 2005-11-01 14:24 ` Kylene Jo Hall
0 siblings, 0 replies; 2+ messages in thread
From: Kylene Jo Hall @ 2005-11-01 14:24 UTC (permalink / raw)
To: Chris Wright; +Cc: linux-kernel, torvalds, akpm
Acked-by: Kylene Hall <kjhall@us.ibm.com>
On Mon, 2005-10-31 at 15:33 -0800, Chris Wright wrote:
> Current tree doesn't build (at least on x86_64) due to TPM breakage:
>
> 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>
> ---
>
> diff --git a/drivers/char/tpm/tpm_atmel.c b/drivers/char/tpm/tpm_atmel.c
> --- a/drivers/char/tpm/tpm_atmel.c
> +++ b/drivers/char/tpm/tpm_atmel.c
> @@ -19,6 +19,7 @@
> *
> */
>
> +#include <linux/platform_device.h>
> #include "tpm.h"
>
> /* Atmel definitions */
> diff --git a/drivers/char/tpm/tpm_nsc.c b/drivers/char/tpm/tpm_nsc.c
> --- a/drivers/char/tpm/tpm_nsc.c
> +++ b/drivers/char/tpm/tpm_nsc.c
> @@ -19,6 +19,7 @@
> *
> */
>
> +#include <linux/platform_device.h>
> #include "tpm.h"
>
> /* National definitions */
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-01 14:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-31 23:33 [PATCH] TPM compile fix Chris Wright
2005-11-01 14:24 ` Kylene Jo Hall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox