diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-05-31 14:17:49 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-06-06 08:44:16 +0200 |
commit | 4bb02dbd31d7430200db0e8dfb96f9d716351627 (patch) | |
tree | 3f0fdcb4448aa560434bbfa30671610f3dd0df03 /drivers/crypto/atmel-ecc.c | |
parent | crypto: caam - disable some clock checks for iMX7ULP (diff) | |
download | linux-4bb02dbd31d7430200db0e8dfb96f9d716351627.tar.xz linux-4bb02dbd31d7430200db0e8dfb96f9d716351627.zip |
crypto: atmel-i2c - Fix build error while CRC16 set to m
If CRYPTO_DEV_ATMEL_ECC is set m, which select CRC16 to m,
while CRYPTO_DEV_ATMEL_SHA204A is set to y, building fails.
drivers/crypto/atmel-i2c.o: In function 'atmel_i2c_checksum':
atmel-i2c.c:(.text+0x16): undefined reference to 'crc16'
Add CRC16 dependency to CRYPTO_DEV_ATMEL_SHA204A
Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: da001fb651b0 ("crypto: atmel-i2c - add support for SHA204A random number generator")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-ecc.c')
0 files changed, 0 insertions, 0 deletions