From: Stephen Rothwell Date: Sat, 12 May 2007 17:36:56 +0000 (-0700) Subject: Missing include file in tpm_atmel.h X-Git-Tag: v2.6.22-rc1~9 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddf526e992c1ea10e31478f4753fd717373f9e8b;p=linux-2.6 Missing include file in tpm_atmel.h On PPC64, we need to include asm/prom.h for function definitions. Signed-off-by: Stephen Rothwell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/tpm/tpm_atmel.h b/drivers/char/tpm/tpm_atmel.h index c912d8691c..9363bcf0a4 100644 --- a/drivers/char/tpm/tpm_atmel.h +++ b/drivers/char/tpm/tpm_atmel.h @@ -23,6 +23,9 @@ */ #ifdef CONFIG_PPC64 + +#include + #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