aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBernhard Beschow <shentey@gmail.com>2023-02-13 18:30:26 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-02-27 22:29:01 +0100
commit07981e8fa022ce2ffe6dc63e23ee9afb7867b445 (patch)
tree2ebb91c9f041e66b372efcd17ff1f7eb63570ad4 /include
parentd73c2b1c04b980e7586ba6fdd1e0f6203f45ed6d (diff)
downloadqemu-07981e8fa022ce2ffe6dc63e23ee9afb7867b445.zip
qemu-07981e8fa022ce2ffe6dc63e23ee9afb7867b445.tar.gz
qemu-07981e8fa022ce2ffe6dc63e23ee9afb7867b445.tar.bz2
hw/i2c/smbus_ich9: Inline ich9_smb_init() and remove it
ich9_smb_init() is a legacy init function, so modernize the code. Note that the smb_io_base parameter was unused. Signed-off-by: Bernhard Beschow <shentey@gmail.com> Acked-by: Corey Minyard <cminyard@mvista.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-Id: <20230213173033.98762-6-shentey@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/hw/i386/ich9.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/i386/ich9.h b/include/hw/i386/ich9.h
index 05464f6..52ea116 100644
--- a/include/hw/i386/ich9.h
+++ b/include/hw/i386/ich9.h
@@ -9,7 +9,6 @@
#include "qom/object.h"
void ich9_lpc_pm_init(PCIDevice *pci_lpc, bool smm_enabled);
-I2CBus *ich9_smb_init(PCIBus *bus, int devfn, uint32_t smb_io_base);
void ich9_generate_smi(void);