Skip to contentSkip to conversation

crypto: sl3516: depends on HAS_IOMEM

PATCH In review Corentin Labbe 2 participants 2 messages Jun 21, 2021 – Jun 24, 2021 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: sl3516: depends on HAS_IOMEM

The sl3516 driver need to depend on HAS_IOMEM.
This fixes a build error:
ERROR: modpost: "devm_platform_ioremap_resource" [drivers/crypto/gemini/sl3516-ce.ko] undefined!

---
 drivers/crypto/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/crypto/Kconfig +1 -0
index 99b090790178..4f3b7da24495 100644
@@ -268,6 +268,7 @@ config CRYPTO_DEV_NIAGARA2
 
 config CRYPTO_DEV_SL3516
 	tristate "Stormlink SL3516 crypto offloader"
+	depends on HAS_IOMEM
 	select CRYPTO_SKCIPHER
 	select CRYPTO_ENGINE
 	select CRYPTO_ECB
Signature · 1 line
2.31.1
maintainer
#1 lore raw
Quoted 9 lines · Corentin Labbe

The sl3516 driver need to depend on HAS_IOMEM.
This fixes a build error:
ERROR: modpost: "devm_platform_ioremap_resource" [drivers/crypto/gemini/sl3516-ce.ko] undefined!

---
 drivers/crypto/Kconfig | 1 +
 1 file changed, 1 insertion(+)

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