From 3386550f51745c618eb8936090699becf4dd0775 Mon Sep 17 00:00:00 2001 From: Reza Arbab Date: Fri, 7 Jun 2019 11:08:29 -0500 Subject: npu2: Fix typo Change "brigde" to "bridge". Fixes: 68d11e4460ec ("npu2: Reset NVLinks when resetting a GPU") Signed-off-by: Reza Arbab Reviewed-by: Alexey Kardashevskiy Signed-off-by: Stewart Smith --- hw/npu2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/npu2.c') diff --git a/hw/npu2.c b/hw/npu2.c index ee2b4b2..7745929 100644 --- a/hw/npu2.c +++ b/hw/npu2.c @@ -537,7 +537,7 @@ static int __npu2_dev_bind_pci_dev(struct phb *phb __unused, return 0; } -static int64_t npu2_gpu_brigde_sec_bus_reset(void *dev, +static int64_t npu2_gpu_bridge_sec_bus_reset(void *dev, struct pci_cfg_reg_filter *pcrf __unused, uint32_t offset, uint32_t len, uint32_t *data, bool write) @@ -612,7 +612,7 @@ static void npu2_dev_bind_pci_dev(struct npu2_dev *dev) pci_add_cfg_reg_filter(dev->nvlink.pd->parent, PCI_CFG_BRCTL, 2, PCI_REG_FLAG_WRITE, - npu2_gpu_brigde_sec_bus_reset); + npu2_gpu_bridge_sec_bus_reset); return; } } -- cgit v1.1