diff
<     if (!adev->kfd.init_complete)
---
>     if (adev && !adev->kfd.init_complete)
