Skip to contentSkip to conversation

Missing include file in tpm_atmel.h

PATCH New Stephen Rothwell 1 participant 1 message May 11, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Missing include file in tpm_atmel.h

On PPC64, we need to include asm/prom.h for function definitions.

---
 drivers/char/tpm/tpm_atmel.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
drivers/char/tpm/tpm_atmel.h +3 -0
index c912d86..9363bcf 100644
@@ -23,6 +23,9 @@
  */
 
 #ifdef CONFIG_PPC64
+
+#include <asm/prom.h>
+
 #define atmel_getb(chip, offset) readb(chip->vendor->iobase + offset);
 #define atmel_putb(val, chip, offset) writeb(val, chip->vendor->iobase + offset)
 #define atmel_request_region request_mem_region
Signature · 1 line
1.5.1.4