android_kernel_motorola_sm6225/drivers/char/tpm
Geert Uytterhoeven 5ce5ed3593 TPM: TCG_ATMEL should depend on HAS_IOPORT
On m68k, I get:

drivers/char/tpm/tpm_atmel.h: In function ‘atmel_get_base_addr’:
drivers/char/tpm/tpm_atmel.h:129: error: implicit declaration of function ‘ioport_map’
drivers/char/tpm/tpm_atmel.h:129: warning: return makes pointer from integer without a cast

The code in tpm_atmel.h supports PPC64 (using the device tree and ioremap())
and "anything else" (using ioport_map()). However, ioportmap() is only
available on platforms that set HAS_IOPORT.

Although PC64 seems to have HAS_IOPORT, a "depends on HAS_IOPORT" should work,
but I think it's better to expose the special PPC64 handling explicit using
"depends on PPC64 || HAS_IOPORT".

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Signed-off-by: James Morris <jmorris@namei.org>
2011-09-23 09:45:57 +10:00
..
Kconfig TPM: TCG_ATMEL should depend on HAS_IOPORT 2011-09-23 09:45:57 +10:00
Makefile
tpm.c tpm: Fix a typo 2011-07-12 18:53:09 -03:00
tpm.h tpm_tis: Fix the probing for interrupts 2011-07-12 18:53:08 -03:00
tpm_atmel.c
tpm_atmel.h
tpm_bios.c
tpm_infineon.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
tpm_nsc.c tpm_nsc: Fix bug when loading multiple TPM drivers 2011-07-26 10:34:34 +10:00
tpm_tis.c tpm_tis: fix build when ACPI is not enabled 2011-08-03 14:25:21 -10:00