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

move display.h to drivers/display.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:56:36 -04:00
commit 9e35d53d1f
14 changed files with 435 additions and 420 deletions

View file

@ -13,7 +13,7 @@
#define __CFB_H__
#include <device.h>
#include <display.h>
#include <drivers/display.h>
#ifdef __cplusplus
extern "C" {

View file

@ -7,7 +7,7 @@
#ifndef ZEPHYR_INCLUDE_DISPLAY_FRAMEBUF_H_
#define ZEPHYR_INCLUDE_DISPLAY_FRAMEBUF_H_
#include <display.h>
#include <drivers/display.h>
extern const struct display_driver_api framebuf_display_api;