aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h
diff options
context:
space:
mode:
authorJean Delvare <[email protected]>2017-07-30 11:42:55 +0000
committerAlex Deucher <[email protected]>2017-08-15 18:46:06 +0000
commit98c65108c5929f3349897ac937bd814b67c62147 (patch)
tree5a4fe1611bf533ab897c1650041946570b9bd946 /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h
parentdrm/amdgpu: Fix dce_v6_0_disable_dce warning (diff)
downloadkernel-98c65108c5929f3349897ac937bd814b67c62147.tar.gz
kernel-98c65108c5929f3349897ac937bd814b67c62147.zip
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 <[email protected]> Cc: Alex Deucher <[email protected]> Cc: "Christian König" <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h
index c19c4d138751..f21a7716b90e 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_pm.h
@@ -30,6 +30,7 @@ struct cg_flag_name
const char *name;
};
+void amdgpu_pm_acpi_event_handler(struct amdgpu_device *adev);
int amdgpu_pm_sysfs_init(struct amdgpu_device *adev);
void amdgpu_pm_sysfs_fini(struct amdgpu_device *adev);
void amdgpu_pm_print_power_states(struct amdgpu_device *adev);