Commit faba278f authored by Chris Wright's avatar Chris Wright Committed by 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: default avatarChris Wright <chrisw@osdl.org>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment