aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2017-07-30 13:11:02 +0200
committerAlex Deucher <alexander.deucher@amd.com>2017-08-15 14:46:08 -0400
commitb7cecbe8d5f139e3e60d1e8f31a0c4832bd29486 (patch)
tree0a395b7f366556352cab14e9d21505aba53c5aa5 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
parentdrm/radeon: Make radeon_atif_handler static (diff)
downloadlinux-dev-b7cecbe8d5f139e3e60d1e8f31a0c4832bd29486.tar.xz
linux-dev-b7cecbe8d5f139e3e60d1e8f31a0c4832bd29486.zip
drm/amdgpu: Make amdgpu_atif_handler static
There are no external users of function amdgpu_atif_handler so it can be static. Signed-off-by: Jean Delvare <jdelvare@suse.de> Cc: Alex Deucher <alexander.deucher@amd.com> Cc: "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_acpi.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
index 9b93f795a77f..57afad79f55d 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
@@ -289,7 +289,7 @@ out:
* handles it.
* Returns NOTIFY code
*/
-int amdgpu_atif_handler(struct amdgpu_device *adev,
+static int amdgpu_atif_handler(struct amdgpu_device *adev,
struct acpi_bus_event *event)
{
struct amdgpu_atif *atif = &adev->atif;