projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d02905
)
crypto: talitos - Add fsl,sec1.0 compatible
author
LEROY Christophe
<christophe.leroy@c-s.fr>
Fri, 17 Apr 2015 14:32:20 +0000
(16:32 +0200)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 21 Apr 2015 01:14:44 +0000
(09:14 +0800)
We add a specific compatible for SEC1, to handle the differences
between SEC1 and SEC2+
Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/talitos.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/crypto/talitos.c
b/drivers/crypto/talitos.c
index f1406d7b0db5201069462931d7306d9160a2a960..c04074d08461e0e1953bb2cacf967ae5a8e439dd 100644
(file)
--- a/
drivers/crypto/talitos.c
+++ b/
drivers/crypto/talitos.c
@@
-3086,9
+3086,16
@@
err_out:
}
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",
},
+#endif
{},
};
MODULE_DEVICE_TABLE(of, talitos_match);