aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
index ef79551b4cb7..57afad79f55d 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
@@ -30,10 +30,10 @@
30#include <drm/drmP.h> 30#include <drm/drmP.h>
31#include <drm/drm_crtc_helper.h> 31#include <drm/drm_crtc_helper.h>
32#include "amdgpu.h" 32#include "amdgpu.h"
33#include "amdgpu_pm.h"
33#include "amd_acpi.h" 34#include "amd_acpi.h"
34#include "atom.h" 35#include "atom.h"
35 36
36extern void amdgpu_pm_acpi_event_handler(struct amdgpu_device *adev);
37/* Call the ATIF method 37/* Call the ATIF method
38 */ 38 */
39/** 39/**
@@ -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;