projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b57167
)
crypto: CRYPTO_DEV_ATMEL_AES should depend on HAS_DMA
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Fri, 15 Jan 2016 13:48:06 +0000
(14:48 +0100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 18 Jan 2016 10:16:34 +0000
(18:16 +0800)
If NO_DMA=y:
ERROR: "dma_unmap_sg" [drivers/crypto/atmel-aes.ko] undefined!
ERROR: "dma_map_sg" [drivers/crypto/atmel-aes.ko] undefined!
Add a dependency on HAS_DMA to fix this.
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/Kconfig
patch
|
blob
|
history
diff --git
a/drivers/crypto/Kconfig
b/drivers/crypto/Kconfig
index
3dd69df
..
07d4942
100644
(file)
--- a/
drivers/crypto/Kconfig
+++ b/
drivers/crypto/Kconfig
@@
-381,6
+381,7
@@
config CRYPTO_DEV_BFIN_CRC
config CRYPTO_DEV_ATMEL_AES
tristate "Support for Atmel AES hw accelerator"
+ depends on HAS_DMA
depends on AT_XDMAC || AT_HDMAC || COMPILE_TEST
select CRYPTO_AES
select CRYPTO_AEAD