git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
714a022
)
tpm: unconstify tpm_tis_chip_data
author
Ilias Apalodimas
<ilias.apalodimas@linaro.org>
Thu, 6 Feb 2025 09:28:56 +0000
(11:28 +0200)
committer
Tom Rini
<trini@konsulko.com>
Tue, 18 Feb 2025 14:26:43 +0000
(08:26 -0600)
The struct contains an iomem pointer that we later remap and update.
Remove const from the struct definition.
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
drivers/tpm/tpm2_tis_mmio.c
patch
|
blob
|
history
diff --git
a/drivers/tpm/tpm2_tis_mmio.c
b/drivers/tpm/tpm2_tis_mmio.c
index
dee5503
..
fc62dcd
100644
(file)
--- a/
drivers/tpm/tpm2_tis_mmio.c
+++ b/
drivers/tpm/tpm2_tis_mmio.c
@@
-135,7
+135,7
@@
static const struct tpm_ops tpm_tis_ops = {
.cleanup = tpm_tis_cleanup,
};
-static
const
struct tpm_tis_chip_data tpm_tis_std_chip_data = {
+static struct tpm_tis_chip_data tpm_tis_std_chip_data = {
.pcr_count = 24,
.pcr_select_min = 3,
};