summaryrefslogtreecommitdiff
path: root/src/drivers/spi
diff options
context:
space:
mode:
authorPatrick Georgi <pgeorgi@google.com>2019-11-29 10:41:40 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-11-30 09:42:03 +0000
commit2c2df5b6ddd1eb568b2384ec34dac6f721ee427e (patch)
tree6835fb938abcdc7a3ad0b507ccc580b9b9ce259d /src/drivers/spi
parent33d0fb8d346512e1b6819fa70cb17212ea014336 (diff)
downloadcoreboot-2c2df5b6ddd1eb568b2384ec34dac6f721ee427e.tar.xz
src/drivers: Fix two issues discovered by checkpatch
Change-Id: I46e318333e68b999b2889f51fa2fbf140a27a54e Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37357 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/drivers/spi')
-rw-r--r--src/drivers/spi/tpm/tis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/spi/tpm/tis.c b/src/drivers/spi/tpm/tis.c
index 7d42b7c424..6230751fb1 100644
--- a/src/drivers/spi/tpm/tis.c
+++ b/src/drivers/spi/tpm/tis.c
@@ -9,7 +9,7 @@
#include "tpm.h"
-static unsigned tpm_is_open;
+static unsigned int tpm_is_open;
static const struct {
uint16_t vid;