summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl.c b/drivers/gpu/nvgpu/common/linux/ioctl.c
index 04974786..359e5103 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl.c
@@ -1,7 +1,7 @@
1/* 1/*
2 * NVGPU IOCTLs 2 * NVGPU IOCTLs
3 * 3 *
4 * Copyright (c) 2011-2017, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2011-2018, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -139,8 +139,9 @@ static int gk20a_create_device(
139{ 139{
140 struct device *subdev; 140 struct device *subdev;
141 int err; 141 int err;
142 struct gk20a *g = gk20a_from_dev(dev);
142 143
143 gk20a_dbg_fn(""); 144 nvgpu_log_fn(g, " ");
144 145
145 cdev_init(cdev, ops); 146 cdev_init(cdev, ops);
146 cdev->owner = THIS_MODULE; 147 cdev->owner = THIS_MODULE;