cleanup: include/: move entropy.h to drivers/entropy.h

move entropy.h to drivers/entropy.h and
create a shim for backward-compatibility.

No functional changes to the headers.
A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES.

Related to #16539

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-06-25 15:53:49 -04:00
commit 969f8f1c68
24 changed files with 145 additions and 130 deletions

View file

@ -11,7 +11,7 @@
LOG_MODULE_REGISTER(net_sock_can, CONFIG_NET_SOCKETS_LOG_LEVEL);
#include <kernel.h>
#include <entropy.h>
#include <drivers/entropy.h>
#include <misc/util.h>
#include <net/net_context.h>
#include <net/net_pkt.h>