diff options
Diffstat (limited to 'drivers/gpu/nvgpu/pci.c')
-rw-r--r-- | drivers/gpu/nvgpu/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/pci.c b/drivers/gpu/nvgpu/pci.c index 38a4ad10..5578dd8b 100644 --- a/drivers/gpu/nvgpu/pci.c +++ b/drivers/gpu/nvgpu/pci.c | |||
@@ -112,7 +112,7 @@ static int nvgpu_pci_init_support(struct pci_dev *pdev) | |||
112 | pci_resource_len(pdev, 1)); | 112 | pci_resource_len(pdev, 1)); |
113 | if (IS_ERR(g->bar1)) { | 113 | if (IS_ERR(g->bar1)) { |
114 | gk20a_err(dev_from_gk20a(g), "failed to remap gk20a bar1"); | 114 | gk20a_err(dev_from_gk20a(g), "failed to remap gk20a bar1"); |
115 | err = PTR_ERR(g->regs); | 115 | err = PTR_ERR(g->bar1); |
116 | goto fail; | 116 | goto fail; |
117 | } | 117 | } |
118 | 118 | ||