From 203016b406b4057e93a500d89131b03b214c4ab7 Mon Sep 17 00:00:00 2001 From: Yu Wang Date: Wed, 10 Oct 2018 14:19:17 +0800 Subject: [PATCH] dm: passthru: correct the name of xdci dsdt write function The write_dsdt_xhci function is use for describe the xdci dsdt table. Correct its name. Tracked-On: #1444 Signed-off-by: Yu Wang Reviewed-by: Binbin Wu --- devicemodel/hw/pci/passthrough.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devicemodel/hw/pci/passthrough.c b/devicemodel/hw/pci/passthrough.c index 68228079c..5507f32ec 100644 --- a/devicemodel/hw/pci/passthrough.c +++ b/devicemodel/hw/pci/passthrough.c @@ -1376,7 +1376,7 @@ passthru_read(struct vmctx *ctx, int vcpu, struct pci_vdev *dev, int baridx, } static void -write_dsdt_xhci(struct pci_vdev *dev) +write_dsdt_xdci(struct pci_vdev *dev) { printf("write virt-%x:%x.%x in dsdt for XDCI @ 00:15.1\n", dev->bus, @@ -1999,7 +1999,7 @@ passthru_write_dsdt(struct pci_vdev *dev) /* Provides ACPI extra info */ if (device == 0x5aaa) /* XDCI @ 00:15.1 to enable ADB */ - write_dsdt_xhci(dev); + write_dsdt_xdci(dev); else if (device == 0x5ab4) /* HDAC @ 00:17.0 as codec */ write_dsdt_hdac(dev);