Skip to contentSkip to conversation

crypto: omap-des - drop of_match_ptr from OF match table

PATCH In review Thorsten Blum 2 participants 2 messages May 17 – May 22 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 crypto: omap-des - drop of_match_ptr from OF match table

Drop of_match_ptr() because OF matching is stubbed out when CONFIG_OF=n.

---
 drivers/crypto/omap-des.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/crypto/omap-des.c +1 -1
index 4eb45b2988c3..f38ed2d387c6 100644
@@ -1111,7 +1111,7 @@ static struct platform_driver omap_des_driver = {
 	.driver	= {
 		.name	= "omap-des",
 		.pm	= &omap_des_pm_ops,
-		.of_match_table	= of_match_ptr(omap_des_of_match),
+		.of_match_table	= omap_des_of_match,
 	},
 };
 
maintainer
#1 lore raw
Quoted 6 lines · Thorsten Blum

Drop of_match_ptr() because OF matching is stubbed out when CONFIG_OF=n.

---
 drivers/crypto/omap-des.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt