diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-08-12 07:23:48 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-08-16 13:31:52 +0200 |
commit | 650d103d3ea959212f826acb9d3fe80cf30e347b (patch) | |
tree | d77413eb83368a13ba4dfd0d592997602fa963df /hw/audio | |
parent | e7febd959740d45c0fc07ce63d834815483afaa0 (diff) |
Include hw/hw.h exactly where needed
In my "build everything" tree, changing hw/hw.h triggers a recompile
of some 2600 out of 6600 objects (not counting tests and objects that
don't depend on qemu/osdep.h).
The previous commits have left only the declaration of hw_error() in
hw/hw.h. This permits dropping most of its inclusions. Touching it
now recompiles less than 200 objects.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20190812052359.30071-19-armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'hw/audio')
-rw-r--r-- | hw/audio/ac97.c | 1 | ||||
-rw-r--r-- | hw/audio/adlib.c | 1 | ||||
-rw-r--r-- | hw/audio/cs4231a.c | 1 | ||||
-rw-r--r-- | hw/audio/es1370.c | 1 | ||||
-rw-r--r-- | hw/audio/gus.c | 1 | ||||
-rw-r--r-- | hw/audio/hda-codec.c | 1 | ||||
-rw-r--r-- | hw/audio/intel-hda.c | 1 | ||||
-rw-r--r-- | hw/audio/marvell_88w8618.c | 1 | ||||
-rw-r--r-- | hw/audio/milkymist-ac97.c | 1 | ||||
-rw-r--r-- | hw/audio/pcspk.c | 1 | ||||
-rw-r--r-- | hw/audio/sb16.c | 1 |
11 files changed, 0 insertions, 11 deletions
diff --git a/hw/audio/ac97.c b/hw/audio/ac97.c index 26ac84b388..9af584fb12 100644 --- a/hw/audio/ac97.c +++ b/hw/audio/ac97.c @@ -18,7 +18,6 @@ */ #include "qemu/osdep.h" -#include "hw/hw.h" #include "hw/audio/soundhw.h" #include "audio/audio.h" #include "hw/pci/pci.h" diff --git a/hw/audio/adlib.c b/hw/audio/adlib.c index 7dd9a89b89..62e59ccee6 100644 --- a/hw/audio/adlib.c +++ b/hw/audio/adlib.c @@ -25,7 +25,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" -#include "hw/hw.h" #include "hw/audio/soundhw.h" #include "audio/audio.h" #include "hw/isa/isa.h" diff --git a/hw/audio/cs4231a.c b/hw/audio/cs4231a.c index f7a39c0af4..383200e1e2 100644 --- a/hw/audio/cs4231a.c +++ b/hw/audio/cs4231a.c @@ -23,7 +23,6 @@ */ #include "qemu/osdep.h" -#include "hw/hw.h" #include "hw/audio/soundhw.h" #include "audio/audio.h" #include "hw/irq.h" diff --git a/hw/audio/es1370.c b/hw/audio/es1370.c index 0289f771c1..39deecbbc6 100644 --- a/hw/audio/es1370.c +++ b/hw/audio/es1370.c @@ -27,7 +27,6 @@ #define SILENT_ES1370 #include "qemu/osdep.h" -#include "hw/hw.h" #include "hw/audio/soundhw.h" #include "audio/audio.h" #include "hw/pci/pci.h" diff --git a/hw/audio/gus.c b/hw/audio/gus.c index 1a78cc47cd..787e04774a 100644 --- a/hw/audio/gus.c +++ b/hw/audio/gus.c @@ -25,7 +25,6 @@ #include "qemu/osdep.h" #include "qapi/error.h" #include "qemu/module.h" -#include "hw/hw.h" #include "hw/audio/soundhw.h" #include "audio/audio.h" #include "hw/irq.h" diff --git a/hw/audio/hda-codec.c b/hw/audio/hda-codec.c index 4f6fbb8b13..4c33c477e1 100644 --- a/hw/audio/hda-codec.c +++ b/hw/audio/hda-codec.c @@ -18,7 +18,6 @@ */ #include "qemu/osdep.h" -#include "hw/hw.h" #include "hw/pci/pci.h" #include "intel-hda.h" #include "migration/vmstate.h" diff --git a/hw/audio/intel-hda.c b/hw/audio/intel-hda.c index e6f150bb0d..5a1fcded55 100644 --- a/hw/audio/intel-hda.c +++ b/hw/audio/intel-hda.c @@ -18,7 +18,6 @@ */ #include "qemu/osdep.h" -#include "hw/hw.h" #include "hw/pci/pci.h" #include "hw/pci/msi.h" #include "qemu/timer.h" diff --git a/hw/audio/marvell_88w8618.c b/hw/audio/marvell_88w8618.c index 6345bc1d5c..158a456a41 100644 --- a/hw/audio/marvell_88w8618.c +++ b/hw/audio/marvell_88w8618.c @@ -13,7 +13,6 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" #include "migration/vmstate.h" -#include "hw/hw.h" #include "hw/irq.h" #include "hw/audio/wm8750.h" #include "audio/audio.h" diff --git a/hw/audio/milkymist-ac97.c b/hw/audio/milkymist-ac97.c index 890a5fe89e..481dde10a1 100644 --- a/hw/audio/milkymist-ac97.c +++ b/hw/audio/milkymist-ac97.c @@ -22,7 +22,6 @@ */ #include "qemu/osdep.h" -#include "hw/hw.h" #include "hw/irq.h" #include "hw/sysbus.h" #include "migration/vmstate.h" diff --git a/hw/audio/pcspk.c b/hw/audio/pcspk.c index 9039c9786d..016946d4b2 100644 --- a/hw/audio/pcspk.c +++ b/hw/audio/pcspk.c @@ -23,7 +23,6 @@ */ #include "qemu/osdep.h" -#include "hw/hw.h" #include "hw/isa/isa.h" #include "hw/audio/soundhw.h" #include "audio/audio.h" diff --git a/hw/audio/sb16.c b/hw/audio/sb16.c index 599194779d..818659546f 100644 --- a/hw/audio/sb16.c +++ b/hw/audio/sb16.c @@ -23,7 +23,6 @@ */ #include "qemu/osdep.h" -#include "hw/hw.h" #include "hw/audio/soundhw.h" #include "audio/audio.h" #include "hw/irq.h" |