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 <lkp@intel.com>
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Corentin Labbe 2021-06-21 18:59:26 +00:00 committed by Herbert Xu
parent d18344c0d0
commit 9f38b678ff
1 changed files with 1 additions and 0 deletions

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