Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/amd: Stop exporting amdgpu_device_ip_suspend() outside amdgpu_device

amdgpu_device_ip_suspend() doesn't have a caller outside of
amdgpu_device.c. Make it static.

No intended functional changes.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Mario Limonciello and committed by
Alex Deucher
6062ede6 e6af507d

+1 -2
-1
drivers/gpu/drm/amd/amdgpu/amdgpu.h
··· 1638 1638 struct drm_file *file_priv); 1639 1639 void amdgpu_driver_release_kms(struct drm_device *dev); 1640 1640 1641 - int amdgpu_device_ip_suspend(struct amdgpu_device *adev); 1642 1641 int amdgpu_device_prepare(struct drm_device *dev); 1643 1642 void amdgpu_device_complete(struct drm_device *dev); 1644 1643 int amdgpu_device_suspend(struct drm_device *dev, bool fbcon);
+1 -1
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
··· 3895 3895 * in each IP into a state suitable for suspend. 3896 3896 * Returns 0 on success, negative error code on failure. 3897 3897 */ 3898 - int amdgpu_device_ip_suspend(struct amdgpu_device *adev) 3898 + static int amdgpu_device_ip_suspend(struct amdgpu_device *adev) 3899 3899 { 3900 3900 int r; 3901 3901