projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5c34d4
)
Missing include file in tpm_atmel.h
author
Stephen Rothwell
<
[email protected]
>
Sat, 12 May 2007 17:36:56 +0000
(10:36 -0700)
committer
Linus Torvalds
<
[email protected]
>
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 <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/char/tpm/tpm_atmel.h
patch
|
blob
|
history
diff --git
a/drivers/char/tpm/tpm_atmel.h
b/drivers/char/tpm/tpm_atmel.h
index c912d8691cbd202d036f3593b3451d11020a7dcf..9363bcf0a402e7bf5417395f4211f3de2666e5c5 100644
(file)
--- a/
drivers/char/tpm/tpm_atmel.h
+++ b/
drivers/char/tpm/tpm_atmel.h
@@
-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