diff options
author | Jean Delvare <jdelvare@suse.de> | 2017-07-30 07:42:55 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-08-15 14:46:06 -0400 |
commit | 98c65108c5929f3349897ac937bd814b67c62147 (patch) | |
tree | 5a4fe1611bf533ab897c1650041946570b9bd946 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | e4c1d1a9681dd8edae7308361327e14ce019c8d5 (diff) |
drm/amdgpu: Fix amdgpu_pm_acpi_event_handler warning
Include a missing header to get rid of the following warning:
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c:65:6: warning: no previous prototype for ‘amdgpu_pm_acpi_event_handler’ [-Wmissing-prototypes]
void amdgpu_pm_acpi_event_handler(struct amdgpu_device *adev)
^
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.c | 2 |
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 ef79551b4cb7..9b93f795a77f 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 | ||
36 | extern void amdgpu_pm_acpi_event_handler(struct amdgpu_device *adev); | ||
37 | /* Call the ATIF method | 37 | /* Call the ATIF method |
38 | */ | 38 | */ |
39 | /** | 39 | /** |