diff options
| author | Ilias Apalodimas <ilias.apalodimas@linaro.org> | 2025-02-06 11:28:56 +0200 |
|---|---|---|
| committer | Tom Rini <trini@konsulko.com> | 2025-02-18 08:26:43 -0600 |
| commit | 92880a58cafc93c0907b9d3a6b13e6425366b7c0 (patch) | |
| tree | 1b1b65cbba739c626a7ab0d0f0ee865bb6e4fa79 /drivers/tpm | |
| parent | 714a0227fefc51e0f7b072d39f5ccc4ebc1f9140 (diff) | |
tpm: unconstify tpm_tis_chip_data
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>
Diffstat (limited to 'drivers/tpm')
| -rw-r--r-- | drivers/tpm/tpm2_tis_mmio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tpm/tpm2_tis_mmio.c b/drivers/tpm/tpm2_tis_mmio.c index dee5503c055..fc62dcda9ef 100644 --- 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, }; |
