Commit 7d07de2c authored by Brendan Higgins's avatar Brendan Higgins Committed by Herbert Xu
Browse files

crypto: amlogic - add unspecified HAS_IOMEM dependency



Currently CONFIG_CRYPTO_DEV_AMLOGIC_GXL=y implicitly depends on
CONFIG_HAS_IOMEM=y; consequently, on architectures without IOMEM we get
the following build error:

ld: drivers/crypto/amlogic/amlogic-gxl-core.o: in function `meson_crypto_probe':
drivers/crypto/amlogic/amlogic-gxl-core.c:240: undefined reference to `devm_platform_ioremap_resource'

Fix the build error by adding the unspecified dependency.

Reported-by: default avatarBrendan Higgins <brendanhiggins@google.com>
Signed-off-by: default avatarBrendan Higgins <brendanhiggins@google.com>
Acked-by: default avatarCorentin Labbe <clabbe@baylibre.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 6dc0e310
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
config CRYPTO_DEV_AMLOGIC_GXL
config CRYPTO_DEV_AMLOGIC_GXL
	tristate "Support for amlogic cryptographic offloader"
	tristate "Support for amlogic cryptographic offloader"
	depends on HAS_IOMEM
	default y if ARCH_MESON
	default y if ARCH_MESON
	select CRYPTO_SKCIPHER
	select CRYPTO_SKCIPHER
	select CRYPTO_ENGINE
	select CRYPTO_ENGINE