linux/drivers/char/tpm
Peter Huewe 961be7ef69 tpm/tpm_tis: Add missing ifdef CONFIG_ACPI for pnp_acpi_device
This fixes a build failure if CONFIG_PNP is set but CONFIG_ACPI is not:
drivers/char/tpm/tpm_tis.c: In function ?tpm_tis_pnp_init?:
drivers/char/tpm/tpm_tis.c:912:45: error: invalid type argument of
?->? (have ?int?)
   acpi_dev_handle = pnp_acpi_device(pnp_dev)->handle;

If CONFIG_PNPACPI is not set pnp_acpi_device is defined as 0 and thus
accesing the handle is not possible.

Fixes: 0dc5536521 ("tpm: fix raciness of PPI interface lookup")
Reported-by: Jim Davis <jim.epost@gmail.com>
Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: James Morris <james.l.morris@oracle.com>
2015-01-22 13:37:33 +11:00
..
Kconfig tpm: TPM 2.0 CRB Interface 2015-01-17 14:00:12 +01:00
Makefile tpm: TPM 2.0 CRB Interface 2015-01-17 14:00:12 +01:00
tpm2-cmd.c tpm: TPM 2.0 baseline support 2015-01-17 14:00:11 +01:00
tpm_acpi.c ACPI: Clean up acpi_os_map/unmap_memory() to eliminate __iomem. 2014-05-27 18:13:08 +02:00
tpm_atmel.c tpm: rename chip->dev to chip->pdev 2015-01-17 14:00:09 +01:00
tpm_atmel.h tpmdd maintainers 2007-08-22 19:52:44 -07:00
tpm_crb.c char/tpm/tpm_crb: fix build error 2015-01-19 20:46:50 +01:00
tpm_eventlog.c tpm: simplify code by using %*phN specifier 2014-07-29 23:10:56 +02:00
tpm_eventlog.h drivers/char/tpm: Add securityfs support for event log 2012-08-22 16:22:47 -05:00
tpm_i2c_atmel.c tpm: rename chip->dev to chip->pdev 2015-01-17 14:00:09 +01:00
tpm_i2c_infineon.c tpm: rename chip->dev to chip->pdev 2015-01-17 14:00:09 +01:00
tpm_i2c_nuvoton.c tpm: device class for tpm 2015-01-17 14:00:10 +01:00
tpm_i2c_stm_st33.c char/tpm: fixed white spaces coding style issues 2015-01-18 14:26:49 +01:00
tpm_ibmvtpm.c tpm: two-phase chip management functions 2015-01-17 14:00:09 +01:00
tpm_ibmvtpm.h tpm_ibmvtpm: Update email address in maintainers list and ibmvtpm driver 2015-01-17 14:00:09 +01:00
tpm_infineon.c tpm: rename chip->dev to chip->pdev 2015-01-17 14:00:09 +01:00
tpm_nsc.c tpm: rename chip->dev to chip->pdev 2015-01-17 14:00:09 +01:00
tpm_of.c tpm_ibmvtpm: Update email address in maintainers list and ibmvtpm driver 2015-01-17 14:00:09 +01:00
tpm_ppi.c tpm: rename chip->dev to chip->pdev 2015-01-17 14:00:09 +01:00
tpm_tis.c tpm/tpm_tis: Add missing ifdef CONFIG_ACPI for pnp_acpi_device 2015-01-22 13:37:33 +11:00
tpm-chip.c tpm: fix format string error in tpm-chip.c 2015-01-20 21:28:36 +01:00
tpm-dev.c tpm: device class for tpm 2015-01-17 14:00:10 +01:00
tpm-interface.c tpm: TPM 2.0 CRB Interface 2015-01-17 14:00:12 +01:00
tpm-sysfs.c tpm: rename chip->dev to chip->pdev 2015-01-17 14:00:09 +01:00
tpm.h char/tpm: fixed white spaces coding style issues 2015-01-18 14:26:49 +01:00
xen-tpmfront.c tpm: two-phase chip management functions 2015-01-17 14:00:09 +01:00