2012-12-14 10:32:35

by Alessio Igor Bogani

[permalink] [raw]
Subject: crypto: omap-aes - fix a build error

[...]
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 <[email protected]>
---
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