diff options
author | Corentin Labbe <clabbe@baylibre.com> | 2021-06-21 18:59:26 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-06-24 14:57:28 +0800 |
commit | 9f38b678ffc4e2ccf167a1131c0403dc4f5e1bb7 (patch) | |
tree | acd1617afaa3bfe6415726c71f95ad9ebac34cfe /drivers/crypto | |
parent | d18344c0d095df544bd7174b8fae2cba523dd4a4 (diff) |
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>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 6f14f39d32e3..ebcec460c045 100644 --- a/drivers/crypto/Kconfig +++ b/drivers/crypto/Kconfig @@ -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 |