Skip to contentSkip to conversation

hw/audio/marvell: Don't include unnecessary i2c.h header file

PATCH Applied Thomas Huth 3 participants 3 messages Jan 4, 2019 – Jan 10, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/audio/marvell: Don't include unnecessary i2c.h header file

This device does not use I2C, so no need to include the header file here.

---
 hw/audio/marvell_88w8618.c | 1 -
 1 file changed, 1 deletion(-)
hw/audio/marvell_88w8618.c +0 -1
index 6600ab4..035dd76 100644
@@ -12,7 +12,6 @@
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/hw.h"
-#include "hw/i2c/i2c.h"
 #include "hw/audio/wm8750.h"
 #include "audio/audio.h"
 #include "qapi/error.h"
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 13 lines · Thomas Huth

This device does not use I2C, so no need to include the header file here.

---
 hw/audio/marvell_88w8618.c | 1 -
 1 file changed, 1 deletion(-)
hw/audio/marvell_88w8618.c +0 -0
index 6600ab4..035dd76 100644

hw/audio/marvell_88w8618.c line 17

Quoted 7 lines
hw/audio/marvell_88w8618.c +0 -1
@@ -12,7 +12,6 @@
 #include "qemu/osdep.h"
 #include "hw/sysbus.h"
 #include "hw/hw.h"
-#include "hw/i2c/i2c.h"
 #include "hw/audio/wm8750.h"
 #include "audio/audio.h"
 #include "qapi/error.h"

Applied to my trivial-patches branch.

Thanks,
Laurent