freebsd-skq/sys/dev/tpm
Conrad Meyer 0c3bbec309 tpm(4): Fix GCC build after r342084 (TPM 2.0 driver commit)
Move static variable definition (cdevsw) to a more conventional location
(the C file it is used in), rather than a header.

This fixes the GCC warning, -Wunused-variable ("defined but not used") when
the tpm20.h header is included in files other than tpm20.c (e.g.,
tpm_tis.c).

X-MFC-with:	r342084
Sponsored by:	Dell EMC Isilon
2018-12-20 20:55:33 +00:00
..
tpm20.c tpm(4): Fix GCC build after r342084 (TPM 2.0 driver commit) 2018-12-20 20:55:33 +00:00
tpm20.h tpm(4): Fix GCC build after r342084 (TPM 2.0 driver commit) 2018-12-20 20:55:33 +00:00
tpm_acpi.c Distinguish _CID match and _HID match and make lower priority probe 2018-10-26 00:05:46 +00:00
tpm_crb.c Fix obtaining RSP address in TPM CRB for non-amd64 platforms 2018-12-20 01:05:09 +00:00
tpm_isa.c
tpm_tis.c Fix error check for ACPI_ID_PROBE in the TPM2.0 driver 2018-12-14 22:22:43 +00:00
tpm.c
tpmvar.h