提交 0635b7db 编写于 作者: L LEROY Christophe 提交者: Herbert Xu

crypto: talitos - Add fsl,sec1.0 compatible

We add a specific compatible for SEC1, to handle the differences
between SEC1 and SEC2+
Signed-off-by: NChristophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 2d02905e
...@@ -3086,9 +3086,16 @@ static int talitos_probe(struct platform_device *ofdev) ...@@ -3086,9 +3086,16 @@ static int talitos_probe(struct platform_device *ofdev)
} }
static const struct of_device_id talitos_match[] = { static const struct of_device_id talitos_match[] = {
#ifdef CONFIG_CRYPTO_DEV_TALITOS1
{
.compatible = "fsl,sec1.0",
},
#endif
#ifdef CONFIG_CRYPTO_DEV_TALITOS2
{ {
.compatible = "fsl,sec2.0", .compatible = "fsl,sec2.0",
}, },
#endif
{}, {},
}; };
MODULE_DEVICE_TABLE(of, talitos_match); MODULE_DEVICE_TABLE(of, talitos_match);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册