This driver relies on tegra-specific headers to compile so make it
depend on ARCH_TEGRA.

Signed-off-by: Tom Rini <[email protected]>
---
Cc: Thierry Reding <[email protected]>
Cc: Svyatoslav Ryhel <[email protected]>
Cc: Ion Agorria <[email protected]>
---
 drivers/crypto/tegra/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/tegra/Kconfig b/drivers/crypto/tegra/Kconfig
index b027609307b0..0f2acaaade1f 100644
--- a/drivers/crypto/tegra/Kconfig
+++ b/drivers/crypto/tegra/Kconfig
@@ -1,6 +1,6 @@
 config TEGRA_AES
        bool "Support the Tegra AES"
-       depends on DM_AES
+       depends on ARCH_TEGRA && DM_AES
        help
          This provides a means to encrypt and decrypt data using the Tegra
          Bit Stream Engine for Video/Audio. Also may provide a mean to
-- 
2.43.0

Reply via email to