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!

Reported-by: kernel test robot <[email protected]>
Signed-off-by: Corentin Labbe <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
Corentin Labbe authored and Herbert Xu committed 2021-06-24 14:57:28 +08:00
1 parent d18344c0d0
commit 9f38b678ff
1 file changed
+1
+1
View File
@@ -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