Skip to content
Permalink
Browse files

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>
  • Loading branch information...
nashif committed Jun 25, 2019
1 parent d1b2718 commit 9e35d53d1fd5629b0c593245f939e0a93a1dc831
@@ -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>

0 comments on commit 9e35d53

Please sign in to comment.
You can’t perform that action at this time.