hw/pci-host/bonito: Use pci_config_set_interrupt_pin()
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Thu, 31 Dec 2020 21:04:13 +0000 (22:04 +0100)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Mon, 4 Jan 2021 22:24:44 +0000 (23:24 +0100)
commitb4bb339b3ddb24601b5f914fb0bc7275a69d2c94
tree5835bd675014983db27d96b6d3d1d33eb342c5cd
parentce3f3d3027078939f2b38cd0d371d44ba8a29026
hw/pci-host/bonito: Use pci_config_set_interrupt_pin()

Replace pci_set_byte(PCI_INTERRUPT_PIN) by
pci_config_set_interrupt_pin().

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Huacai Chen <chenhuacai@kernel.org>
Message-Id: <20201231224911.1467352-5-f4bug@amsat.org>
hw/pci-host/bonito.c