UPSTREAM: drivers/spi/tpm: make tpm_info object local to compilation unit
The tpm_info object is a global, but its symbol does not need to
be exposed to the world as its only used within tpm.c.
BUG=b:36598499
Change-Id: I10d2d75641ed3ce9d3fda27c382348c9c90542aa
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 445c13fb5d
Original-Change-Id: Idded3dad8d0d1c3535bddfb359009210d3439703
Original-Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Original-Reviewed-on: https://review.coreboot.org/19057
Original-Reviewed-by: Furquan Shaikh <furquan@google.com>
Original-Tested-by: build bot (Jenkins)
Reviewed-on: https://chromium-review.googlesource.com/466052
This commit is contained in:
parent
fc257c0970
commit
c0514e440c
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ static struct tpm_spi_if tpm_if = {
|
|||
};
|
||||
|
||||
/* Cached TPM device identification. */
|
||||
struct tpm2_info tpm_info;
|
||||
static struct tpm2_info tpm_info;
|
||||
|
||||
/*
|
||||
* TODO(vbendeb): make CONFIG_DEBUG_TPM an int to allow different level of
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue