diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/pci.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/pci.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/pci.c b/drivers/gpu/nvgpu/common/linux/pci.c index 15435934..3a452d18 100644 --- a/drivers/gpu/nvgpu/common/linux/pci.c +++ b/drivers/gpu/nvgpu/common/linux/pci.c | |||
@@ -29,6 +29,7 @@ | |||
29 | #include "module.h" | 29 | #include "module.h" |
30 | #include "intr.h" | 30 | #include "intr.h" |
31 | #include "sysfs.h" | 31 | #include "sysfs.h" |
32 | #include "os_linux.h" | ||
32 | 33 | ||
33 | #include "pci.h" | 34 | #include "pci.h" |
34 | 35 | ||
@@ -367,7 +368,7 @@ static int nvgpu_pci_probe(struct pci_dev *pdev, | |||
367 | } | 368 | } |
368 | 369 | ||
369 | platform->g = g; | 370 | platform->g = g; |
370 | g->dev = &pdev->dev; | 371 | l->dev = &pdev->dev; |
371 | 372 | ||
372 | err = pci_enable_device(pdev); | 373 | err = pci_enable_device(pdev); |
373 | if (err) | 374 | if (err) |