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, 5 Jul 2018 21:38:57 +0000 (16:38 -0500)
commit102c16a0246d77043e555e1e5b5de316bc068cbc
treededf1633f31baed7e4696cc8057cc8cd40a7ce64
parent0c3d01744511f053c5f67737cb7a6a99c0216a84
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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c