diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-05-23 16:35:07 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-06-12 13:18:33 +0200 |
commit | 0b8fa32f551e863bb548a11394239239270dd3dc (patch) | |
tree | 5407f5eb794045d03eb5f817a4d2fc611524d057 /hw/i2c | |
parent | 856dfd8a035e42cd96ca823f1cbbd18d332e2f84 (diff) | |
download | qemu-0b8fa32f551e863bb548a11394239239270dd3dc.zip qemu-0b8fa32f551e863bb548a11394239239270dd3dc.tar.gz qemu-0b8fa32f551e863bb548a11394239239270dd3dc.tar.bz2 |
Include qemu/module.h where needed, drop it from qemu-common.h
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190523143508.25387-4-armbru@redhat.com>
[Rebased with conflicts resolved automatically, except for
hw/usb/dev-hub.c hw/misc/exynos4210_rng.c hw/misc/bcm2835_rng.c
hw/misc/aspeed_scu.c hw/display/virtio-vga.c hw/arm/stm32f205_soc.c;
ui/cocoa.m fixed up]
Diffstat (limited to 'hw/i2c')
-rw-r--r-- | hw/i2c/aspeed_i2c.c | 1 | ||||
-rw-r--r-- | hw/i2c/bitbang_i2c.c | 2 | ||||
-rw-r--r-- | hw/i2c/core.c | 1 | ||||
-rw-r--r-- | hw/i2c/exynos4210_i2c.c | 1 | ||||
-rw-r--r-- | hw/i2c/imx_i2c.c | 1 | ||||
-rw-r--r-- | hw/i2c/microbit_i2c.c | 1 | ||||
-rw-r--r-- | hw/i2c/mpc_i2c.c | 1 | ||||
-rw-r--r-- | hw/i2c/omap_i2c.c | 2 | ||||
-rw-r--r-- | hw/i2c/ppc4xx_i2c.c | 2 | ||||
-rw-r--r-- | hw/i2c/smbus_ich9.c | 2 | ||||
-rw-r--r-- | hw/i2c/smbus_slave.c | 1 | ||||
-rw-r--r-- | hw/i2c/versatile_i2c.c | 1 |
12 files changed, 15 insertions, 1 deletions
diff --git a/hw/i2c/aspeed_i2c.c b/hw/i2c/aspeed_i2c.c index a085510..219ad38 100644 --- a/hw/i2c/aspeed_i2c.c +++ b/hw/i2c/aspeed_i2c.c @@ -21,6 +21,7 @@ #include "qemu/osdep.h" #include "hw/sysbus.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/i2c/aspeed_i2c.h" /* I2C Global Register */ diff --git a/hw/i2c/bitbang_i2c.c b/hw/i2c/bitbang_i2c.c index 8be88ee..5dfc72d 100644 --- a/hw/i2c/bitbang_i2c.c +++ b/hw/i2c/bitbang_i2c.c @@ -9,10 +9,12 @@ * Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "bitbang_i2c.h" #include "hw/sysbus.h" +#include "qemu/module.h" //#define DEBUG_BITBANG_I2C diff --git a/hw/i2c/core.c b/hw/i2c/core.c index 15237ad..20f36f1 100644 --- a/hw/i2c/core.c +++ b/hw/i2c/core.c @@ -9,6 +9,7 @@ #include "qemu/osdep.h" #include "hw/i2c/i2c.h" +#include "qemu/module.h" #include "trace.h" #define I2C_BROADCAST 0x00 diff --git a/hw/i2c/exynos4210_i2c.c b/hw/i2c/exynos4210_i2c.c index d154b05..70a97a3 100644 --- a/hw/i2c/exynos4210_i2c.c +++ b/hw/i2c/exynos4210_i2c.c @@ -21,6 +21,7 @@ */ #include "qemu/osdep.h" +#include "qemu/module.h" #include "qemu/timer.h" #include "hw/sysbus.h" #include "hw/i2c/i2c.h" diff --git a/hw/i2c/imx_i2c.c b/hw/i2c/imx_i2c.c index 6da5224..ce7a94c 100644 --- a/hw/i2c/imx_i2c.c +++ b/hw/i2c/imx_i2c.c @@ -22,6 +22,7 @@ #include "hw/i2c/imx_i2c.h" #include "hw/i2c/i2c.h" #include "qemu/log.h" +#include "qemu/module.h" #ifndef DEBUG_IMX_I2C #define DEBUG_IMX_I2C 0 diff --git a/hw/i2c/microbit_i2c.c b/hw/i2c/microbit_i2c.c index 793f1b0..214be07 100644 --- a/hw/i2c/microbit_i2c.c +++ b/hw/i2c/microbit_i2c.c @@ -19,6 +19,7 @@ #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/i2c/microbit_i2c.h" static const uint32_t twi_read_sequence[] = {0x5A, 0x5A, 0x40}; diff --git a/hw/i2c/mpc_i2c.c b/hw/i2c/mpc_i2c.c index 693ca7e..e9a1127 100644 --- a/hw/i2c/mpc_i2c.c +++ b/hw/i2c/mpc_i2c.c @@ -20,6 +20,7 @@ #include "qemu/osdep.h" #include "hw/i2c/i2c.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/sysbus.h" /* #define DEBUG_I2C */ diff --git a/hw/i2c/omap_i2c.c b/hw/i2c/omap_i2c.c index d02e734..d7ebeae 100644 --- a/hw/i2c/omap_i2c.c +++ b/hw/i2c/omap_i2c.c @@ -16,8 +16,10 @@ * You should have received a copy of the GNU General Public License along * with this program; if not, see <http://www.gnu.org/licenses/>. */ + #include "qemu/osdep.h" #include "qemu/log.h" +#include "qemu/module.h" #include "hw/hw.h" #include "hw/i2c/i2c.h" #include "hw/arm/omap.h" diff --git a/hw/i2c/ppc4xx_i2c.c b/hw/i2c/ppc4xx_i2c.c index d6dfafa..d606d3d 100644 --- a/hw/i2c/ppc4xx_i2c.c +++ b/hw/i2c/ppc4xx_i2c.c @@ -25,8 +25,8 @@ */ #include "qemu/osdep.h" -#include "qemu-common.h" #include "qemu/log.h" +#include "qemu/module.h" #include "cpu.h" #include "hw/hw.h" #include "hw/i2c/ppc4xx_i2c.h" diff --git a/hw/i2c/smbus_ich9.c b/hw/i2c/smbus_ich9.c index 251d3d1..51a0304 100644 --- a/hw/i2c/smbus_ich9.c +++ b/hw/i2c/smbus_ich9.c @@ -19,10 +19,12 @@ * You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/> */ + #include "qemu/osdep.h" #include "hw/hw.h" #include "hw/i2c/pm_smbus.h" #include "hw/pci/pci.h" +#include "qemu/module.h" #include "sysemu/sysemu.h" #include "hw/i386/ich9.h" diff --git a/hw/i2c/smbus_slave.c b/hw/i2c/smbus_slave.c index 9a2d314..a9908c1 100644 --- a/hw/i2c/smbus_slave.c +++ b/hw/i2c/smbus_slave.c @@ -17,6 +17,7 @@ #include "hw/hw.h" #include "hw/i2c/i2c.h" #include "hw/i2c/smbus_slave.h" +#include "qemu/module.h" //#define DEBUG_SMBUS 1 diff --git a/hw/i2c/versatile_i2c.c b/hw/i2c/versatile_i2c.c index da9f298..e07be98 100644 --- a/hw/i2c/versatile_i2c.c +++ b/hw/i2c/versatile_i2c.c @@ -25,6 +25,7 @@ #include "hw/sysbus.h" #include "bitbang_i2c.h" #include "qemu/log.h" +#include "qemu/module.h" #define TYPE_VERSATILE_I2C "versatile_i2c" #define VERSATILE_I2C(obj) \ |