aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c
diff options
context:
space:
mode:
authorSrinivasan Shanmugam <[email protected]>2023-05-19 12:18:12 +0000
committerAlex Deucher <[email protected]>2023-06-09 14:44:27 +0000
commit40e39d72277fc014e7b8149def35831998c8df2f (patch)
tree6354fcf1ba553ff14d29a7a66988bf6bf2964d95 /drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c
parentdrm/amd/display: 3.2.237 (diff)
downloadkernel-40e39d72277fc014e7b8149def35831998c8df2f.tar.gz
kernel-40e39d72277fc014e7b8149def35831998c8df2f.zip
drm/amdgpu: Fix unused amdgpu_acpi_get_numa_info function in amdgpu_acpi_get_node_id()
Fix the below compiler complaining error: drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c:860:33: error: unused function 'amdgpu_acpi_get_numa_info' [-Werror,-Wunused-function] static struct amdgpu_numa_info *amdgpu_acpi_get_numa_info(uint32_t pxm) ^ 1 error generated. By guarding amdgpu_acpi_get_numa_info & amdgpu_acpi_get_numa_size function, only when CONFIG_ACPI_NUMA is enabled. Suggested-by: Lijo Lazar <[email protected]> Cc: Christian König <[email protected]> Cc: Lijo Lazar <[email protected]> Cc: Luben Tuikov <[email protected]> Cc: Alex Deucher <[email protected]> Signed-off-by: Srinivasan Shanmugam <[email protected]> Reviewed-by: Lijo Lazar <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mmhub_v1_8.c')
0 files changed, 0 insertions, 0 deletions