diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2007-05-12 13:36:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-05-12 13:55:39 -0400 |
commit | ddf526e992c1ea10e31478f4753fd717373f9e8b (patch) | |
tree | 8314ff8a09fbb7e37b6a29b97b35b82ab37ee6d9 | |
parent | c5c34d4862e18ef07c1276d233507f540fb5a532 (diff) |
Missing include file in tpm_atmel.h
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>
-rw-r--r-- | drivers/char/tpm/tpm_atmel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/char/tpm/tpm_atmel.h b/drivers/char/tpm/tpm_atmel.h index c912d8691cbd..9363bcf0a402 100644 --- a/drivers/char/tpm/tpm_atmel.h +++ b/drivers/char/tpm/tpm_atmel.h | |||
@@ -23,6 +23,9 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #ifdef CONFIG_PPC64 | 25 | #ifdef CONFIG_PPC64 |
26 | |||
27 | #include <asm/prom.h> | ||
28 | |||
26 | #define atmel_getb(chip, offset) readb(chip->vendor->iobase + offset); | 29 | #define atmel_getb(chip, offset) readb(chip->vendor->iobase + offset); |
27 | #define atmel_putb(val, chip, offset) writeb(val, chip->vendor->iobase + offset) | 30 | #define atmel_putb(val, chip, offset) writeb(val, chip->vendor->iobase + offset) |
28 | #define atmel_request_region request_mem_region | 31 | #define atmel_request_region request_mem_region |