diff mbox series

[1/2] hw/display: Include local 'framebuffer.h'

Message ID 20200504082003.16298-2-f4bug@amsat.org
State New
Headers show
Series hw/display: Trivial include cleanups | expand

Commit Message

Philippe Mathieu-Daudé May 4, 2020, 8:20 a.m. UTC
The "framebuffer.h" header is not an exported include.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 hw/display/artist.c  | 2 +-
 hw/display/next-fb.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Thomas Huth May 4, 2020, 9:50 a.m. UTC | #1
Am Mon,  4 May 2020 10:20:02 +0200
schrieb Philippe Mathieu-Daudé <f4bug@amsat.org>:

> The "framebuffer.h" header is not an exported include.
> 
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>  hw/display/artist.c  | 2 +-
>  hw/display/next-fb.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Richard Henderson May 4, 2020, 5:31 p.m. UTC | #2
On 5/4/20 1:20 AM, Philippe Mathieu-Daudé wrote:
> The "framebuffer.h" header is not an exported include.
> 
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>  hw/display/artist.c  | 2 +-
>  hw/display/next-fb.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>


r~
Gerd Hoffmann May 18, 2020, 1:41 p.m. UTC | #3
On Mon, May 04, 2020 at 10:20:02AM +0200, Philippe Mathieu-Daudé wrote:
> The "framebuffer.h" header is not an exported include.

Patch added to ui queue.
(patch 2/2 skipped, has unanswered quesions).

thanks,
  Gerd

> 
> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>  hw/display/artist.c  | 2 +-
>  hw/display/next-fb.c | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/hw/display/artist.c b/hw/display/artist.c
> index 753dbb9a77..e1d5885fed 100644
> --- a/hw/display/artist.c
> +++ b/hw/display/artist.c
> @@ -21,7 +21,7 @@
>  #include "migration/vmstate.h"
>  #include "ui/console.h"
>  #include "trace.h"
> -#include "hw/display/framebuffer.h"
> +#include "framebuffer.h"
>  
>  #define TYPE_ARTIST "artist"
>  #define ARTIST(obj) OBJECT_CHECK(ARTISTState, (obj), TYPE_ARTIST)
> diff --git a/hw/display/next-fb.c b/hw/display/next-fb.c
> index 2b726a10f8..b0513a8fba 100644
> --- a/hw/display/next-fb.c
> +++ b/hw/display/next-fb.c
> @@ -27,7 +27,7 @@
>  #include "hw/hw.h"
>  #include "hw/boards.h"
>  #include "hw/loader.h"
> -#include "hw/display/framebuffer.h"
> +#include "framebuffer.h"
>  #include "ui/pixel_ops.h"
>  #include "hw/m68k/next-cube.h"
>  
> -- 
> 2.21.3
>
diff mbox series

Patch

diff --git a/hw/display/artist.c b/hw/display/artist.c
index 753dbb9a77..e1d5885fed 100644
--- a/hw/display/artist.c
+++ b/hw/display/artist.c
@@ -21,7 +21,7 @@ 
 #include "migration/vmstate.h"
 #include "ui/console.h"
 #include "trace.h"
-#include "hw/display/framebuffer.h"
+#include "framebuffer.h"
 
 #define TYPE_ARTIST "artist"
 #define ARTIST(obj) OBJECT_CHECK(ARTISTState, (obj), TYPE_ARTIST)
diff --git a/hw/display/next-fb.c b/hw/display/next-fb.c
index 2b726a10f8..b0513a8fba 100644
--- a/hw/display/next-fb.c
+++ b/hw/display/next-fb.c
@@ -27,7 +27,7 @@ 
 #include "hw/hw.h"
 #include "hw/boards.h"
 #include "hw/loader.h"
-#include "hw/display/framebuffer.h"
+#include "framebuffer.h"
 #include "ui/pixel_ops.h"
 #include "hw/m68k/next-cube.h"