From: Emil Velikov <[email protected]>

Signed-off-by: Emil Velikov <[email protected]>
---
 src/amdgpu_probe.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amdgpu_probe.c b/src/amdgpu_probe.c
index 075e5c1..e65c83b 100644
--- a/src/amdgpu_probe.c
+++ b/src/amdgpu_probe.c
@@ -120,7 +120,7 @@ static int amdgpu_kernel_open_fd(ScrnInfoPtr pScrn,
        char *busid;
        int fd;
 
-#ifdef XF86_PDEV_SERVER_FD
+#ifdef ODEV_ATTRIB_FD
        if (platform_dev) {
                fd = xf86_get_platform_device_int_attrib(platform_dev,
                                                         ODEV_ATTRIB_FD, -1);
-- 
2.16.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to