Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drm/amdkfd: match the signatures of the real and stub kgd2kfd_probe()
When CONFIG_HSA_AMD=n this there is this error amdgpu_amdkfd.c:75:56: error: incompatible type for argument 2 of ‘kgd2kfd_probe’ 75 | adev->kfd.dev = kgd2kfd_probe((struct kgd_dev *)adev, vf); amdgpu_amdkfd.h:349:17: note: declared here 349 | struct kfd_dev *kgd2kfd_probe(struct kgd_dev *kgd, struct pci_dev *pdev, The signature of the stub kgd2kfd_probe() does not match the real one. So change the stub to match. Fixes: 920f37e ("drm/amdkfd: clean up parameters in kgd2kfd_probe") Signed-off-by: Tom Rix <trix@redhat.com>
- Loading branch information