From: Pali Rohár Date: Thu, 26 Feb 2015 13:49:53 +0000 (+0100) Subject: crypto: omap-sham - Add support for omap3 devices X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=eddca85b1a9ab451772791d03af1f016e9c4ea0b;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git crypto: omap-sham - Add support for omap3 devices omap3 support is same as omap2, just with different IO address (specified in DT) Signed-off-by: Pali Rohár Acked-by: Pavel Machek Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/omap-sham.c b/drivers/crypto/omap-sham.c index a6703204fd86..b2024c95a3cf 100644 --- a/drivers/crypto/omap-sham.c +++ b/drivers/crypto/omap-sham.c @@ -1798,6 +1798,10 @@ static const struct of_device_id omap_sham_of_match[] = { .compatible = "ti,omap2-sham", .data = &omap_sham_pdata_omap2, }, + { + .compatible = "ti,omap3-sham", + .data = &omap_sham_pdata_omap2, + }, { .compatible = "ti,omap4-sham", .data = &omap_sham_pdata_omap4,