<asm/cpu_device_id.h> now has a generic version, so the #ifdef CONFIG_X86 around the include is no longer needed.
<asm/intel-family.h> is included by <asm/cpu_device_id.h>. Signed-off-by: Pavel Popov <[email protected]> --- Depends on <asm-generic/cpu_device_id.h> from [1]; please apply after it is in mainline. [1] https://lore.kernel.org/r/[email protected] drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c index 19a566187df..fc4e7273630 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c @@ -88,10 +88,7 @@ #include <drm/drm_drv.h> -#if IS_ENABLED(CONFIG_X86) -#include <asm/intel-family.h> #include <asm/cpu_device_id.h> -#endif MODULE_FIRMWARE("amdgpu/vega10_gpu_info.bin"); MODULE_FIRMWARE("amdgpu/vega12_gpu_info.bin"); -- 2.54.0
