diff options
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/pci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/pci.c b/drivers/gpu/nvgpu/pci.c index fcf63ddc..5165c715 100644 --- a/drivers/gpu/nvgpu/pci.c +++ b/drivers/gpu/nvgpu/pci.c | |||
@@ -131,6 +131,7 @@ static int nvgpu_pci_init_support(struct pci_dev *pdev) | |||
131 | 131 | ||
132 | static char *nvgpu_pci_devnode(struct device *dev, umode_t *mode) | 132 | static char *nvgpu_pci_devnode(struct device *dev, umode_t *mode) |
133 | { | 133 | { |
134 | *mode = S_IRUGO | S_IWUGO; | ||
134 | return kasprintf(GFP_KERNEL, "nvgpu-pci/%s", dev_name(dev)); | 135 | return kasprintf(GFP_KERNEL, "nvgpu-pci/%s", dev_name(dev)); |
135 | } | 136 | } |
136 | 137 | ||