diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-01-11 09:50:12 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2023-01-23 13:32:38 +0000 |
commit | da8df26d2ea7eb1bfd6cc7fec37aabf6137f385d (patch) | |
tree | 5fd17f8ef219eba0357af887c58ffed91dbbc656 /hw/i2c/bitbang_i2c.c | |
parent | 0ec69c460ef7a02596afbe4bd46c9fa954a5f992 (diff) | |
download | qemu-da8df26d2ea7eb1bfd6cc7fec37aabf6137f385d.zip qemu-da8df26d2ea7eb1bfd6cc7fec37aabf6137f385d.tar.gz qemu-da8df26d2ea7eb1bfd6cc7fec37aabf6137f385d.tar.bz2 |
hw/i2c/bitbang_i2c: Define TYPE_GPIO_I2C in public header
Define TYPE_GPIO_I2C in the public "hw/i2c/bitbang_i2c.h"
header and use it in hw/arm/musicpal.c.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Corey Minyard <cminyard@mvista.com>
Message-id: 20230111085016.44551-2-philmd@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/i2c/bitbang_i2c.c')
-rw-r--r-- | hw/i2c/bitbang_i2c.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/i2c/bitbang_i2c.c b/hw/i2c/bitbang_i2c.c index e9a0612..ac84bf0 100644 --- a/hw/i2c/bitbang_i2c.c +++ b/hw/i2c/bitbang_i2c.c @@ -162,7 +162,6 @@ void bitbang_i2c_init(bitbang_i2c_interface *s, I2CBus *bus) /* GPIO interface. */ -#define TYPE_GPIO_I2C "gpio_i2c" OBJECT_DECLARE_SIMPLE_TYPE(GPIOI2CState, GPIO_I2C) struct GPIOI2CState { |