[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20070511163311.366ac5b4.sfr@canb.auug.org.au>
Date: Fri, 11 May 2007 16:33:11 +1000
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: tpmdd_devel@...ts.sourceforge.net
Cc: Kylene Hall <kjhall@...ibm.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: [PATCH] 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@...b.auug.org.au>
---
drivers/char/tpm/tpm_atmel.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
--
Cheers,
Stephen Rothwell sfr@...b.auug.org.au
diff --git a/drivers/char/tpm/tpm_atmel.h b/drivers/char/tpm/tpm_atmel.h
index c912d86..9363bcf 100644
--- 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
--
1.5.1.4
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists