]> git.proxmox.com Git - mirror_qemu.git/commit
hw/i2c/smbus_ich9: Inline ich9_smb_init() and remove it
authorBernhard Beschow <shentey@gmail.com>
Mon, 13 Feb 2023 17:30:26 +0000 (18:30 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 27 Feb 2023 21:29:01 +0000 (22:29 +0100)
commit07981e8fa022ce2ffe6dc63e23ee9afb7867b445
tree2ebb91c9f041e66b372efcd17ff1f7eb63570ad4
parentd73c2b1c04b980e7586ba6fdd1e0f6203f45ed6d
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>
hw/i2c/smbus_ich9.c
hw/i386/pc_q35.c
include/hw/i386/ich9.h