aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2017-07-30 07:11:02 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-08-15 14:46:08 -0400
commitb7cecbe8d5f139e3e60d1e8f31a0c4832bd29486 (patch)
tree0a395b7f366556352cab14e9d21505aba53c5aa5
parentafe2068dfd665ec63445576d2759bef2d5b4e56c (diff)
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>
-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:
289 * handles it. 289 * handles it.
290 * Returns NOTIFY code 290 * Returns NOTIFY code
291 */ 291 */
292int amdgpu_atif_handler(struct amdgpu_device *adev, 292static int amdgpu_atif_handler(struct amdgpu_device *adev,
293 struct acpi_bus_event *event) 293 struct acpi_bus_event *event)
294{ 294{
295 struct amdgpu_atif *atif = &adev->atif; 295 struct amdgpu_atif *atif = &adev->atif;