aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorReza Arbab <arbab@linux.ibm.com>2019-06-07 11:08:29 -0500
committerStewart Smith <stewart@linux.ibm.com>2019-06-13 11:32:52 +1000
commit3386550f51745c618eb8936090699becf4dd0775 (patch)
tree5a337e292a66fe56bbb02cd99af039da5fd02029 /hw
parentdb3929ee4f0a98596938f05da2789686908ebfd4 (diff)
downloadskiboot-3386550f51745c618eb8936090699becf4dd0775.zip
skiboot-3386550f51745c618eb8936090699becf4dd0775.tar.gz
skiboot-3386550f51745c618eb8936090699becf4dd0775.tar.bz2
npu2: Fix typo
Change "brigde" to "bridge". Fixes: 68d11e4460ec ("npu2: Reset NVLinks when resetting a GPU") Signed-off-by: Reza Arbab <arbab@linux.ibm.com> Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/npu2.c4
1 files changed, 2 insertions, 2 deletions
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;
}
}