From 66dc0ddd02a1fdc6678e0b3ffcb257630462afaa Mon Sep 17 00:00:00 2001 From: Rex Zhu Date: Fri, 18 Sep 2015 16:35:17 +0800 Subject: [PATCH] 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 --- drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 2 +- .../gpu/drm/amd/{amdgpu/amdgpu_acpi.h => include/amd_acpi.h} | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename drivers/gpu/drm/amd/{amdgpu/amdgpu_acpi.h => include/amd_acpi.h} (99%) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c index 5df5b8390b03..5cd7b736a9de 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 5a8fbadbd27b..3c895863fcf5 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 51ce3e337503..496360eb3fba 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" -- 2.39.5