Skip to contentSkip to conversation

crypto: talitos - Add fsl,sec1.0 compatible

PATCH New Christophe Leroy 1 participant 1 message Mar 14, 2015 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH v3 16/17 crypto: talitos - Add fsl,sec1.0 compatible

We add a specific compatible for SEC1, to handle the differences between SEC1 and SEC2+

---
 drivers/crypto/talitos.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/crypto/talitos.c +7 -0
index f1406d7b..c04074d 100644
@@ -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);
Signature · 1 line
2.1.0