Skip to content

Commit

Permalink
Missing include file in tpm_atmel.h
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen Rothwell authored and Linus Torvalds committed May 12, 2007
1 parent c5c34d4 commit ddf526e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/char/tpm/tpm_atmel.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ddf526e

Please sign in to comment.