diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/ioctl.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl.c b/drivers/gpu/nvgpu/common/linux/ioctl.c index 202ea0ef..53b9476e 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl.c | |||
@@ -24,9 +24,9 @@ | |||
24 | #include "gk20a/dbg_gpu_gk20a.h" | 24 | #include "gk20a/dbg_gpu_gk20a.h" |
25 | #include "gk20a/ctxsw_trace_gk20a.h" | 25 | #include "gk20a/ctxsw_trace_gk20a.h" |
26 | #include "gk20a/channel_gk20a.h" | 26 | #include "gk20a/channel_gk20a.h" |
27 | #include "gk20a/as_gk20a.h" | ||
28 | #include "gk20a/tsg_gk20a.h" | 27 | #include "gk20a/tsg_gk20a.h" |
29 | #include "ioctl_ctrl.h" | 28 | #include "ioctl_ctrl.h" |
29 | #include "ioctl_as.h" | ||
30 | 30 | ||
31 | #define GK20A_NUM_CDEVS 7 | 31 | #define GK20A_NUM_CDEVS 7 |
32 | 32 | ||
@@ -167,9 +167,9 @@ void gk20a_user_deinit(struct device *dev, struct class *class) | |||
167 | cdev_del(&g->channel.cdev); | 167 | cdev_del(&g->channel.cdev); |
168 | } | 168 | } |
169 | 169 | ||
170 | if (g->as.node) { | 170 | if (g->as_dev.node) { |
171 | device_destroy(class, g->as.cdev.dev); | 171 | device_destroy(class, g->as_dev.cdev.dev); |
172 | cdev_del(&g->as.cdev); | 172 | cdev_del(&g->as_dev.cdev); |
173 | } | 173 | } |
174 | 174 | ||
175 | if (g->ctrl.node) { | 175 | if (g->ctrl.node) { |
@@ -228,7 +228,7 @@ int gk20a_user_init(struct device *dev, const char *interface_name, | |||
228 | goto fail; | 228 | goto fail; |
229 | 229 | ||
230 | err = gk20a_create_device(dev, devno++, interface_name, "-as", | 230 | err = gk20a_create_device(dev, devno++, interface_name, "-as", |
231 | &g->as.cdev, &g->as.node, | 231 | &g->as_dev.cdev, &g->as_dev.node, |
232 | &gk20a_as_ops, | 232 | &gk20a_as_ops, |
233 | class); | 233 | class); |
234 | if (err) | 234 | if (err) |