diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c b/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c index bac36403..aef0c9b3 100644 --- a/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c +++ b/drivers/gpu/nvgpu/gk20a/fecs_trace_gk20a.c | |||
@@ -545,7 +545,7 @@ DEFINE_SIMPLE_ATTRIBUTE(gk20a_fecs_trace_debugfs_write_fops, | |||
545 | 545 | ||
546 | static void gk20a_fecs_trace_debugfs_init(struct gk20a *g) | 546 | static void gk20a_fecs_trace_debugfs_init(struct gk20a *g) |
547 | { | 547 | { |
548 | struct gk20a_platform *plat = platform_get_drvdata(g->dev); | 548 | struct gk20a_platform *plat = dev_get_drvdata(g->dev); |
549 | 549 | ||
550 | debugfs_create_file("ctxsw_trace_read", 0600, plat->debugfs, g, | 550 | debugfs_create_file("ctxsw_trace_read", 0600, plat->debugfs, g, |
551 | &gk20a_fecs_trace_debugfs_read_fops); | 551 | &gk20a_fecs_trace_debugfs_read_fops); |
@@ -557,7 +557,7 @@ static void gk20a_fecs_trace_debugfs_init(struct gk20a *g) | |||
557 | 557 | ||
558 | static void gk20a_fecs_trace_debugfs_cleanup(struct gk20a *g) | 558 | static void gk20a_fecs_trace_debugfs_cleanup(struct gk20a *g) |
559 | { | 559 | { |
560 | struct gk20a_platform *plat = platform_get_drvdata(g->dev); | 560 | struct gk20a_platform *plat = dev_get_drvdata(g->dev); |
561 | 561 | ||
562 | debugfs_remove_recursive(plat->debugfs); | 562 | debugfs_remove_recursive(plat->debugfs); |
563 | } | 563 | } |