Re: [PATCH] drm/amdgpu: fix building without CONFIG_HMM_MIRROR

2019-07-08 Thread Alex Deucher
On Mon, Jul 8, 2019 at 9:51 AM Arnd Bergmann wrote: > > 'struct hmm_mirror' is not defined without the Kconfig option set, > so we cannot include it within another struct: > > In file included from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:72: >

[PATCH] drm/amdgpu: fix building without CONFIG_HMM_MIRROR

2019-07-08 Thread Arnd Bergmann
'struct hmm_mirror' is not defined without the Kconfig option set, so we cannot include it within another struct: In file included from drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu.h:72: drivers/gpu/drm/amd/amdgpu/../amdgpu/amdgpu_mn.h:69:20: error: field has incomplete type 'struct hmm_mirror'