diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-11-15 18:10:07 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-16 15:39:08 -0500 |
commit | 463c6f4c74e6deaffbfb6cfc535c521ce4302297 (patch) | |
tree | f7521e82a4c8dc7e5de3e6105fec0bcafc6062b4 /drivers/gpu | |
parent | 70dc188c12e14223945ebb8cf70539e40c55d0e5 (diff) |
gpu: nvgpu: Mark nvgpu_pde_phys_addr static
nvgpu_pde_phys_addr() is only used in gmmu.c and as such can be
marked static.
JIRA NVGPU-402
Change-Id: I7adba6f54ebd4e06d176f23b9a959c04a8770338
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1599040
Reviewed-by: Seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/common/mm/gmmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/mm/gmmu.c b/drivers/gpu/nvgpu/common/mm/gmmu.c index 568da8c4..6cca8c2f 100644 --- a/drivers/gpu/nvgpu/common/mm/gmmu.c +++ b/drivers/gpu/nvgpu/common/mm/gmmu.c | |||
@@ -210,7 +210,7 @@ static void unmap_gmmu_pages(struct gk20a *g, struct nvgpu_gmmu_pd *pd) | |||
210 | /* | 210 | /* |
211 | * Return the _physical_ address of a page directory. | 211 | * Return the _physical_ address of a page directory. |
212 | */ | 212 | */ |
213 | u64 nvgpu_pde_phys_addr(struct gk20a *g, struct nvgpu_gmmu_pd *pd) | 213 | static u64 nvgpu_pde_phys_addr(struct gk20a *g, struct nvgpu_gmmu_pd *pd) |
214 | { | 214 | { |
215 | u64 page_addr; | 215 | u64 page_addr; |
216 | 216 | ||