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

move misc/printk.h to sys/printk.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:49 -04:00
commit 9ab2a56751
258 changed files with 355 additions and 340 deletions

View file

@ -6,7 +6,7 @@
#include <zephyr.h>
#include <kernel.h>
#include <misc/printk.h>
#include <sys/printk.h>
/* This function will allow execute from sram region.

View file

@ -5,7 +5,7 @@
*/
#include <zephyr.h>
#include <misc/printk.h>
#include <sys/printk.h>
u32_t var_sram2_data = 10U;
u32_t var_sram2_bss;

View file

@ -5,7 +5,7 @@
*/
#include <zephyr.h>
#include <misc/printk.h>
#include <sys/printk.h>
void function_in_sram(s32_t value)
{

View file

@ -5,7 +5,7 @@
*/
#include <zephyr.h>
#include <misc/printk.h>
#include <sys/printk.h>
u32_t var_file3_sram_data = 10U;
u32_t var_file3_sram2_bss;