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 <yu1.wang@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
This commit is contained in:
Yu Wang 2018-10-10 14:19:17 +08:00 committed by wenlingz
parent 7f2b9a1c7d
commit 203016b406
1 changed files with 2 additions and 2 deletions

View File

@ -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);