From: Rex Zhu Date: Fri, 18 Sep 2015 08:35:17 +0000 (+0800) Subject: drm/amdgpu: mv amdgpu_acpi.h to amd/include/amd_acpi.h X-Git-Tag: v4.9.8~2860^2~19^2~103 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66dc0ddd02a1fdc6678e0b3ffcb257630462afaa;p=platform%2Fkernel%2Flinux-rpi3.git drm/amdgpu: mv amdgpu_acpi.h to amd/include/amd_acpi.h This will be shared with the new powerplay module. Signed-off-by: Rex Zhu Reviewed-by: Jammy Zhou Reviewed-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c index 5df5b83..5cd7b73 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c @@ -29,7 +29,7 @@ #include #include #include "amdgpu.h" -#include "amdgpu_acpi.h" +#include "amd_acpi.h" #include "atom.h" extern void amdgpu_pm_acpi_event_handler(struct amdgpu_device *adev); diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c index 5a8fbad..3c89586 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c @@ -11,7 +11,7 @@ #include #include -#include "amdgpu_acpi.h" +#include "amd_acpi.h" struct amdgpu_atpx_functions { bool px_params; diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.h b/drivers/gpu/drm/amd/include/amd_acpi.h similarity index 99% rename from drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.h rename to drivers/gpu/drm/amd/include/amd_acpi.h index 51ce3e3..496360e 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.h +++ b/drivers/gpu/drm/amd/include/amd_acpi.h @@ -21,8 +21,8 @@ * */ -#ifndef AMDGPU_ACPI_H -#define AMDGPU_ACPI_H +#ifndef AMD_ACPI_H +#define AMD_ACPI_H #define ACPI_AC_CLASS "ac_adapter"