mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-22 09:12:24 +03:00
gpu: nvgpu: rename nvhost_dev to nvhost
A couple of structure member variables were named "nvhost_dev". This causes a name conflict with a structure name. MISRA frowns upon name conflicts. Therefore, rename the member variables to "nvhost". JIRA NVGPU-3873 Change-Id: I4d35eb2d121b3c17499055d8781a61641594811e Signed-off-by: Adeel Raza <araza@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2262190 Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com> Reviewed-by: svc-mobile-cert <svc-mobile-cert@nvidia.com> Reviewed-by: svc-mobile-misra <svc-mobile-misra@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
Alex Waterman
parent
26af1c2270
commit
fd870b300e
@@ -1070,7 +1070,7 @@ static int nvgpu_ioctl_channel_get_user_syncpoint(struct nvgpu_channel *ch,
|
||||
}
|
||||
|
||||
args->syncpoint_id = nvgpu_channel_sync_get_syncpt_id(user_sync_syncpt);
|
||||
args->syncpoint_max = nvgpu_nvhost_syncpt_read_maxval(g->nvhost_dev,
|
||||
args->syncpoint_max = nvgpu_nvhost_syncpt_read_maxval(g->nvhost,
|
||||
args->syncpoint_id);
|
||||
if (nvgpu_is_enabled(g, NVGPU_SUPPORT_SYNCPOINT_ADDRESS)) {
|
||||
args->gpu_va =
|
||||
|
||||
Reference in New Issue
Block a user