drm/amdgpu: Make struct amdgpu_atif private to amdgpu_acpi.c
authorLyude Paul <lyude@redhat.com>
Tue, 26 Jun 2018 01:09:04 +0000 (21:09 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Jun 2018 20:31:45 +0000 (15:31 -0500)
commit2cd5fe22d9a45cdf11c62bbe8db3ce9101207510
tree153d0a68a1ab391fbf94088bd5e65f88eba9d400
parent1513b1c93f825f74751897258e0bdde64fd3bb6a
drm/amdgpu: Make struct amdgpu_atif private to amdgpu_acpi.c

Currently, there is nothing in amdgpu that actually uses these structs
other than amdgpu_acpi.c. Additionally, since we're about to start
saving the correct ACPI handle to use for calling ATIF in this struct
this saves us from having to handle making sure that the acpi_handle
(and by proxy, the type definition for acpi_handle and all of the other
acpi headers) doesn't need to be included within the amdgpu_drv struct
itself. This follows the example set by amdgpu_atpx_handler.c.

Signed-off-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c