فهرست منبع

[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>
Chris Wright 19 سال پیش
والد
کامیت
faba278fb0
2فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 1 0
      drivers/char/tpm/tpm_atmel.c
  2. 1 0
      drivers/char/tpm/tpm_nsc.c

+ 1 - 0
drivers/char/tpm/tpm_atmel.c

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

+ 1 - 0
drivers/char/tpm/tpm_nsc.c

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