input/adb: Only include header where needed
The header hw/input/adb.h is included by some files that don't need it. Clean it up and include only where necessary. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Message-Id: <f46bc751e8426f9d937c9540f2e67d2f0b2cc582.1672868854.git.balaton@eik.bme.hu> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
This commit is contained in:
parent
6661b8c7fe
commit
588c5b0b9f
@ -27,8 +27,6 @@
|
|||||||
#include "hw/irq.h"
|
#include "hw/irq.h"
|
||||||
#include "hw/qdev-properties.h"
|
#include "hw/qdev-properties.h"
|
||||||
#include "migration/vmstate.h"
|
#include "migration/vmstate.h"
|
||||||
#include "hw/input/adb.h"
|
|
||||||
#include "hw/misc/mos6522.h"
|
|
||||||
#include "hw/misc/macio/cuda.h"
|
#include "hw/misc/macio/cuda.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qemu/timer.h"
|
#include "qemu/timer.h"
|
||||||
|
@ -31,10 +31,7 @@
|
|||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "hw/qdev-properties.h"
|
#include "hw/qdev-properties.h"
|
||||||
#include "migration/vmstate.h"
|
#include "migration/vmstate.h"
|
||||||
#include "hw/input/adb.h"
|
|
||||||
#include "hw/irq.h"
|
#include "hw/irq.h"
|
||||||
#include "hw/misc/mos6522.h"
|
|
||||||
#include "hw/misc/macio/gpio.h"
|
|
||||||
#include "hw/misc/macio/pmu.h"
|
#include "hw/misc/macio/pmu.h"
|
||||||
#include "qapi/error.h"
|
#include "qapi/error.h"
|
||||||
#include "qemu/timer.h"
|
#include "qemu/timer.h"
|
||||||
|
@ -25,7 +25,6 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "qemu/osdep.h"
|
#include "qemu/osdep.h"
|
||||||
#include "hw/input/adb.h"
|
|
||||||
#include "hw/irq.h"
|
#include "hw/irq.h"
|
||||||
#include "hw/misc/mos6522.h"
|
#include "hw/misc/mos6522.h"
|
||||||
#include "hw/qdev-properties.h"
|
#include "hw/qdev-properties.h"
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
#include "exec/memory.h"
|
#include "exec/memory.h"
|
||||||
#include "hw/sysbus.h"
|
#include "hw/sysbus.h"
|
||||||
#include "hw/misc/mos6522.h"
|
#include "hw/misc/mos6522.h"
|
||||||
|
#include "hw/input/adb.h"
|
||||||
#include "qom/object.h"
|
#include "qom/object.h"
|
||||||
|
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@
|
|||||||
#ifndef CUDA_H
|
#ifndef CUDA_H
|
||||||
#define CUDA_H
|
#define CUDA_H
|
||||||
|
|
||||||
|
#include "hw/input/adb.h"
|
||||||
#include "hw/misc/mos6522.h"
|
#include "hw/misc/mos6522.h"
|
||||||
#include "qom/object.h"
|
#include "qom/object.h"
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@
|
|||||||
#ifndef PMU_H
|
#ifndef PMU_H
|
||||||
#define PMU_H
|
#define PMU_H
|
||||||
|
|
||||||
|
#include "hw/input/adb.h"
|
||||||
#include "hw/misc/mos6522.h"
|
#include "hw/misc/mos6522.h"
|
||||||
#include "hw/misc/macio/gpio.h"
|
#include "hw/misc/macio/gpio.h"
|
||||||
#include "qom/object.h"
|
#include "qom/object.h"
|
||||||
|
@ -27,9 +27,8 @@
|
|||||||
#ifndef MOS6522_H
|
#ifndef MOS6522_H
|
||||||
#define MOS6522_H
|
#define MOS6522_H
|
||||||
|
|
||||||
#include "exec/memory.h"
|
#include "exec/hwaddr.h"
|
||||||
#include "hw/sysbus.h"
|
#include "hw/sysbus.h"
|
||||||
#include "hw/input/adb.h"
|
|
||||||
#include "qom/object.h"
|
#include "qom/object.h"
|
||||||
|
|
||||||
#define MOS6522_NUM_REGS 16
|
#define MOS6522_NUM_REGS 16
|
||||||
|
Loading…
Reference in New Issue
Block a user