mirror of
https://github.com/opnsense/src.git
synced 2026-02-26 11:20:29 -05:00
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
|
||
|---|---|---|
| .. | ||
| tpm.c | ||
| tpm20.c | ||
| tpm20.h | ||
| tpm_acpi.c | ||
| tpm_crb.c | ||
| tpm_isa.c | ||
| tpm_tis.c | ||
| tpmvar.h | ||