mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
tpm_tis: Add compatible string atmel,at97sc3204
Commit 420d439849 ("tpm_tis: Allow tpm_tis to be bound using DT")
added the fallback compatible "tcg,tpm-tis-mmio" to the TPM TIS driver,
but not the chip-specific "atmel,at97sc3204". However it did document
it as a valid compatible string.
Add it to tis_of_platform_match[] for consistency.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
This commit is contained in:
committed by
Jarkko Sakkinen
parent
3c45308c44
commit
68bf59c3dc
@@ -347,6 +347,7 @@ static void tpm_tis_plat_remove(struct platform_device *pdev)
|
||||
|
||||
#ifdef CONFIG_OF
|
||||
static const struct of_device_id tis_of_platform_match[] = {
|
||||
{.compatible = "atmel,at97sc3204"},
|
||||
{.compatible = "tcg,tpm-tis-mmio"},
|
||||
{},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user