Skip to content

Commit 9f38b67

Browse files
montjoieherbertx
authored andcommitted
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>
1 parent d18344c commit 9f38b67

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/crypto/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ config CRYPTO_DEV_NIAGARA2
268268

269269
config CRYPTO_DEV_SL3516
270270
tristate "Stormlink SL3516 crypto offloader"
271+
depends on HAS_IOMEM
271272
select CRYPTO_SKCIPHER
272273
select CRYPTO_ENGINE
273274
select CRYPTO_ECB

0 commit comments

Comments
 (0)