diff options
author | BALATON Zoltan | 2019-06-20 12:55:23 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2019-06-28 10:49:36 +0200 |
commit | d718b7475b188dd47c10b24f8d2c46326b37094a (patch) | |
tree | fa63b650bd4fe8eb764fa18abd36ecd7877740f0 /hw/i2c/bitbang_i2c.c | |
parent | Merge remote-tracking branch 'remotes/amarkovic/tags/mips-queue-jun-21-2019' ... (diff) | |
download | qemu-d718b7475b188dd47c10b24f8d2c46326b37094a.tar.gz qemu-d718b7475b188dd47c10b24f8d2c46326b37094a.tar.xz qemu-d718b7475b188dd47c10b24f8d2c46326b37094a.zip |
i2c: Move bitbang_i2c.h to include/hw/i2c/
The bitbang i2c implementation is also useful for other device models
such as DDC in display controllers. Move the header to include/hw/i2c/
to allow it to be used from other device models and adjust users of
this include. This also reverts commit 2b4c1125ac which is no longer
needed.
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Message-id: 5d1fe4db846ab9be4b77ddb0d43cc74cd200a003.1561028123.git.balaton@eik.bme.hu
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/i2c/bitbang_i2c.c')
-rw-r--r-- | hw/i2c/bitbang_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/i2c/bitbang_i2c.c b/hw/i2c/bitbang_i2c.c index 5dfc72d9d7..3cb0509b02 100644 --- a/hw/i2c/bitbang_i2c.c +++ b/hw/i2c/bitbang_i2c.c @@ -12,7 +12,7 @@ #include "qemu/osdep.h" #include "hw/hw.h" -#include "bitbang_i2c.h" +#include "hw/i2c/bitbang_i2c.h" #include "hw/sysbus.h" #include "qemu/module.h" |