drivers/bch/bchlib_cache.c: Fix build with CONFIG_BCH_ENCRYPTION
It seems no one has built this since 2014. I only build-tested this with esp32-devkitc:wapi + CONFIG_BCH_ENCRYPTION + CONFIG_ESP32_AES_ACCELERATOR.
This commit is contained in:
parent
9bd10898d2
commit
ed305ccc64
|
@ -33,7 +33,7 @@
|
|||
#include "bch.h"
|
||||
|
||||
#if defined(CONFIG_BCH_ENCRYPTION)
|
||||
# include <crypto/crypto.h>
|
||||
# include <nuttx/crypto/crypto.h>
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
|
Loading…
Reference in New Issue