diff options
Diffstat (limited to 'libkms')
-rw-r--r-- | libkms/linux.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libkms/linux.c b/libkms/linux.c index fc4f205c..4f861213 100644 --- a/libkms/linux.c +++ b/libkms/linux.c @@ -101,8 +101,12 @@ linux_from_sysfs(int fd, struct kms_driver **out) if (ret) return ret; - if (!strcmp(name, "intel")) + if (0) + {} +#ifdef HAVE_INTEL + else if (!strcmp(name, "intel")) ret = intel_create(fd, out); +#endif #ifdef HAVE_VMWGFX else if (!strcmp(name, "vmwgfx")) ret = vmwgfx_create(fd, out); |