diff options
author | Thomas Huth <thuth@redhat.com> | 2023-02-10 12:23:15 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-02-14 09:02:42 +0100 |
commit | 8c6631e66e323bc92e0ea5d235e7059b30fb86ee (patch) | |
tree | 8f39f23f3f8e7add36b4adcf6c317e9ec04a4400 /hw | |
parent | b482fb43deb3fa9f5c44fd3da3dde04acec7750f (diff) | |
download | qemu-8c6631e66e323bc92e0ea5d235e7059b30fb86ee.zip qemu-8c6631e66e323bc92e0ea5d235e7059b30fb86ee.tar.gz qemu-8c6631e66e323bc92e0ea5d235e7059b30fb86ee.tar.bz2 |
include/hw: Do not include "hw/registerfields.h" in headers that don't need it
Include "hw/registerfields.h" in the .c files instead (if needed).
Message-Id: <20230210112315.1116966-1-thuth@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/char/ibex_uart.c | 1 | ||||
-rw-r--r-- | hw/ssi/ibex_spi_host.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/char/ibex_uart.c b/hw/char/ibex_uart.c index e58181f..f70adb5 100644 --- a/hw/char/ibex_uart.c +++ b/hw/char/ibex_uart.c @@ -31,6 +31,7 @@ #include "hw/qdev-clock.h" #include "hw/qdev-properties.h" #include "hw/qdev-properties-system.h" +#include "hw/registerfields.h" #include "migration/vmstate.h" #include "qemu/log.h" #include "qemu/module.h" diff --git a/hw/ssi/ibex_spi_host.c b/hw/ssi/ibex_spi_host.c index 57df462..1ee7d88 100644 --- a/hw/ssi/ibex_spi_host.c +++ b/hw/ssi/ibex_spi_host.c @@ -26,6 +26,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" #include "qemu/module.h" +#include "hw/registerfields.h" #include "hw/ssi/ibex_spi_host.h" #include "hw/irq.h" #include "hw/qdev-properties.h" |