cleanup: include/: move misc/util.h to sys/util.h

move misc/util.h to sys/util.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-26 10:33:55 -04:00
commit a2fd7d70ec
295 changed files with 1103 additions and 1088 deletions

View file

@ -15,7 +15,7 @@
#ifndef _SOC__H_
#define _SOC__H_
#include <misc/util.h>
#include <sys/util.h>
#ifdef __cplusplus
extern "C" {
@ -35,7 +35,7 @@ extern "C" {
#include <fsl_common.h>
#include <device.h>
#include <misc/util.h>
#include <sys/util.h>
#include <random/rand32.h>
#endif /* !_ASMLANGUAGE */