[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>
This commit is contained in:
Chris Wright 2005-10-31 23:44:28 -08:00 committed by Linus Torvalds
parent 01824853b1
commit faba278fb0
2 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@
*
*/
#include <linux/platform_device.h>
#include "tpm.h"
/* Atmel definitions */

View File

@ -19,6 +19,7 @@
*
*/
#include <linux/platform_device.h>
#include "tpm.h"
/* National definitions */