crypto: omap-aes - fix a build error

From: Alessio Igor Bogani <hidden>
Date: 2012-12-14 10:32:39
Also in: linux-omap, lkml
Subsystem: crypto api, the rest · Maintainers: Herbert Xu, "David S. Miller", Linus Torvalds

[...]
  CC      init/version.o
  LD      init/built-in.o
drivers/built-in.o:(.data+0xbc6c): undefined reference to `crypto_ablkcipher_type'
drivers/built-in.o:(.data+0xbd4c): undefined reference to `crypto_ablkcipher_type'

The omap-aes driver uses crypto_ablkcipher_type symbol without selecting it.

Signed-off-by: Alessio Igor Bogani <redacted>
---
 drivers/crypto/Kconfig |    1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig
index f6644f5..b04d78f 100644
--- a/drivers/crypto/Kconfig
+++ b/drivers/crypto/Kconfig
@@ -254,6 +254,7 @@ config CRYPTO_DEV_OMAP_AES
 	tristate "Support for OMAP AES hw engine"
 	depends on ARCH_OMAP2 || ARCH_OMAP3
 	select CRYPTO_AES
+	select CRYPTO_BLKCIPHER
 	help
 	  OMAP processors have AES module accelerator. Select this if you
 	  want to use the OMAP module for AES algorithms.
-- 
1.7.9.5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help