Missing include file in tpm_atmel.h
authorStephen Rothwell <sfr@canb.auug.org.au>
Sat, 12 May 2007 17:36:56 +0000 (10:36 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sat, 12 May 2007 17:55:39 +0000 (10:55 -0700)
On PPC64, we need to include asm/prom.h for function definitions.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tpm/tpm_atmel.h

index c912d8691cbd202d036f3593b3451d11020a7dcf..9363bcf0a402e7bf5417395f4211f3de2666e5c5 100644 (file)
@@ -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