summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorAlex Deucher <alexander.deucher@amd.com>2017-12-15 00:22:53 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-12-18 18:59:18 +0300
commit8111c387275f64aae972d5717d32b0f756bb6e5f (patch)
treee27b9dc40e2ff8aa35d8c8f263eb48fa8dbc66a7 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent9c3f2b54746f764e1b695797c78bc46b8713f067 (diff)
downloadlinux-8111c387275f64aae972d5717d32b0f756bb6e5f.tar.xz
drm/amdgpu: rename amdgpu_pci_config_reset
add device for consistency with other functions in this file. Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index 05e5c6822f9c..2ff4194fd153 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -377,7 +377,7 @@ void amdgpu_device_program_register_sequence(struct amdgpu_device *adev,
}
}
-void amdgpu_pci_config_reset(struct amdgpu_device *adev)
+void amdgpu_device_pci_config_reset(struct amdgpu_device *adev)
{
pci_write_config_dword(adev->pdev, 0x7c, AMDGPU_ASIC_RESET_DATA);
}