diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c index 14e509ac..a6dc8a35 100644 --- a/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c +++ b/drivers/gpu/nvgpu/gk20a/platform_gk20a_tegra.c | |||
@@ -60,7 +60,7 @@ static void gk20a_tegra_secure_page_destroy(struct platform_device *pdev, | |||
60 | secure_buffer->iova, &secure_buffer->attrs); | 60 | secure_buffer->iova, &secure_buffer->attrs); |
61 | } | 61 | } |
62 | 62 | ||
63 | static int gk20a_tegra_secure_page_alloc(struct platform_device *pdev) | 63 | int gk20a_tegra_secure_page_alloc(struct platform_device *pdev) |
64 | { | 64 | { |
65 | struct gk20a_platform *platform = platform_get_drvdata(pdev); | 65 | struct gk20a_platform *platform = platform_get_drvdata(pdev); |
66 | struct secure_page_buffer *secure_buffer = &platform->secure_buffer; | 66 | struct secure_page_buffer *secure_buffer = &platform->secure_buffer; |
@@ -96,9 +96,9 @@ static void gk20a_tegra_secure_destroy(struct gk20a *g, | |||
96 | } | 96 | } |
97 | } | 97 | } |
98 | 98 | ||
99 | static int gk20a_tegra_secure_alloc(struct platform_device *pdev, | 99 | int gk20a_tegra_secure_alloc(struct platform_device *pdev, |
100 | struct gr_ctx_buffer_desc *desc, | 100 | struct gr_ctx_buffer_desc *desc, |
101 | size_t size) | 101 | size_t size) |
102 | { | 102 | { |
103 | struct gk20a_platform *platform = platform_get_drvdata(pdev); | 103 | struct gk20a_platform *platform = platform_get_drvdata(pdev); |
104 | struct device *dev = &pdev->dev; | 104 | struct device *dev = &pdev->dev; |