From: Kylene Jo Hall <kjhall@us.ibm.com>
To: Chris Wright <chrisw@osdl.org>
Cc: linux-kernel@vger.kernel.org, torvalds@osdl.org, akpm@osdl.org
Subject: Re: [PATCH] TPM compile fix
Date: Tue, 01 Nov 2005 08:24:27 -0600 [thread overview]
Message-ID: <1130855067.4882.42.camel@localhost.localdomain> (raw)
In-Reply-To: <20051031233307.GV7991@shell0.pdx.osdl.net>
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 */
>
prev parent reply other threads:[~2005-11-01 14:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-31 23:33 [PATCH] TPM compile fix Chris Wright
2005-11-01 14:24 ` Kylene Jo Hall [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1130855067.4882.42.camel@localhost.localdomain \
--to=kjhall@us.ibm.com \
--cc=akpm@osdl.org \
--cc=chrisw@osdl.org \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox