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:
parent
d1b2718687
commit
9e35d53d1f
14 changed files with 435 additions and 420 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <string.h>
|
||||
|
||||
#include <display.h>
|
||||
#include <drivers/display.h>
|
||||
|
||||
struct dummy_display_data {
|
||||
enum display_pixel_format current_pixel_format;
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <display.h>
|
||||
#include <drivers/display.h>
|
||||
#include <display/framebuf.h>
|
||||
#include <string.h>
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
*/
|
||||
|
||||
#include "display_ili9340.h"
|
||||
#include <display.h>
|
||||
#include <drivers/display.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_DISPLAY_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <display.h>
|
||||
#include <drivers/display.h>
|
||||
#include "display_ili9340.h"
|
||||
|
||||
/*
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <display.h>
|
||||
#include <drivers/display.h>
|
||||
#include <fsl_elcdif.h>
|
||||
|
||||
#ifdef CONFIG_HAS_MCUX_CACHE
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include <display.h>
|
||||
#include <drivers/display.h>
|
||||
|
||||
#include <SDL.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -10,7 +10,7 @@ LOG_MODULE_REGISTER(ssd1673);
|
|||
|
||||
#include <string.h>
|
||||
#include <device.h>
|
||||
#include <display.h>
|
||||
#include <drivers/display.h>
|
||||
#include <init.h>
|
||||
#include <drivers/gpio.h>
|
||||
#include <drivers/spi.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue