提交 faba278f 编写于 作者: C Chris Wright 提交者: Linus Torvalds

[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: NChris Wright <chrisw@osdl.org>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 01824853
......@@ -19,6 +19,7 @@
*
*/
#include <linux/platform_device.h>
#include "tpm.h"
/* Atmel definitions */
......
......@@ -19,6 +19,7 @@
*
*/
#include <linux/platform_device.h>
#include "tpm.h"
/* National definitions */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册