Skip to content

Commit

Permalink
crypto: talitos - Add fsl,sec1.0 compatible
Browse files Browse the repository at this point in the history
We add a specific compatible for SEC1, to handle the differences
between SEC1 and SEC2+

Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
chleroy authored and herbertx committed Apr 21, 2015
1 parent 2d02905 commit 0635b7d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions drivers/crypto/talitos.c
Original file line number Diff line number Diff line change
Expand Up @@ -3086,9 +3086,16 @@ static int talitos_probe(struct platform_device *ofdev)
}

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);
Expand Down

0 comments on commit 0635b7d

Please sign in to comment.