hw/display/bcm2835_fb: Move inclusion of console.h to the .c file

The definitions from console.h are not needed in the bcm2835_fb.h
header file yet, so let's move it to the place that really needs
its definitions, i.e. into the bcm2835_fb.c file.
This way the header can also be used by code that is not compiled
with the CFLAGS that are required for pixman or OpenGL (in case
their headers do not reside under /usr/include).

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20250508144120.163009-3-thuth@redhat.com>
This commit is contained in:
Thomas Huth
2025-09-09 09:31:15 +02:00
parent 6a9fa5ef32
commit 180c65c346
2 changed files with 1 additions and 1 deletions
+1
View File
@@ -27,6 +27,7 @@
#include "hw/display/bcm2835_fb.h"
#include "hw/hw.h"
#include "hw/irq.h"
#include "ui/console.h"
#include "framebuffer.h"
#include "ui/pixel_ops.h"
#include "hw/misc/bcm2835_mbox_defs.h"
-1
View File
@@ -13,7 +13,6 @@
#define BCM2835_FB_H
#include "hw/sysbus.h"
#include "ui/console.h"
#include "qom/object.h"
#define UPPER_RAM_BASE 0x40000000