drm/amdgpu: Fix amdgpu_pm_acpi_event_handler warning
authorJean Delvare <jdelvare@suse.de>
Sun, 30 Jul 2017 11:42:55 +0000 (13:42 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 Aug 2017 18:46:06 +0000 (14:46 -0400)
commit98c65108c5929f3349897ac937bd814b67c62147
tree5a4fe1611bf533ab897c1650041946570b9bd946
parente4c1d1a9681dd8edae7308361327e14ce019c8d5
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>
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h