Skip to content

Commit faba278

Browse files
Chris WrightLinus Torvalds
authored andcommitted
[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>
1 parent 0182485 commit faba278

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/char/tpm/tpm_atmel.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
*
2020
*/
2121

22+
#include <linux/platform_device.h>
2223
#include "tpm.h"
2324

2425
/* Atmel definitions */

‎drivers/char/tpm/tpm_nsc.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
*
2020
*/
2121

22+
#include <linux/platform_device.h>
2223
#include "tpm.h"
2324

2425
/* National definitions */

0 commit comments

Comments
 (0)