Skip to content

Commit

Permalink
hw/isa/vt82c686: Rename vt82c686b_init() -> vt82c686b_isa_init()
Browse files Browse the repository at this point in the history
This function only initialize the ISA bus.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180308223946.26784-19-f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
  • Loading branch information
philmd authored and bonzini committed Mar 12, 2018
1 parent 5c961c3 commit 728d891
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hw/isa/vt82c686.c
Expand Up @@ -478,7 +478,7 @@ static void vt82c686b_realize(PCIDevice *d, Error **errp)
qemu_register_reset(vt82c686b_reset, d);
}

ISABus *vt82c686b_init(PCIBus *bus, int devfn)
ISABus *vt82c686b_isa_init(PCIBus *bus, int devfn)
{
PCIDevice *d;

Expand Down
2 changes: 1 addition & 1 deletion hw/mips/mips_fulong2e.c
Expand Up @@ -236,7 +236,7 @@ static void vt82c686b_southbridge_init(PCIBus *pci_bus, int slot, qemu_irq intc,
ISABus *isa_bus;
DriveInfo *hd[MAX_IDE_BUS * MAX_IDE_DEVS];

isa_bus = vt82c686b_init(pci_bus, PCI_DEVFN(slot, 0));
isa_bus = vt82c686b_isa_init(pci_bus, PCI_DEVFN(slot, 0));
if (!isa_bus) {
fprintf(stderr, "vt82c686b_init error\n");
exit(1);
Expand Down
2 changes: 1 addition & 1 deletion include/hw/isa/vt82c686.h
Expand Up @@ -2,7 +2,7 @@
#define HW_VT82C686_H

/* vt82c686.c */
ISABus *vt82c686b_init(PCIBus * bus, int devfn);
ISABus *vt82c686b_isa_init(PCIBus * bus, int devfn);
void vt82c686b_ac97_init(PCIBus *bus, int devfn);
void vt82c686b_mc97_init(PCIBus *bus, int devfn);
I2CBus *vt82c686b_pm_init(PCIBus *bus, int devfn, uint32_t smb_io_base,
Expand Down

0 comments on commit 728d891

Please sign in to comment.