diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-11-01 10:41:29 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-11-01 10:53:25 +0100 |
commit | ff792066c98858c002f01b4c24b899b3791eb9de (patch) | |
tree | 78730313e08908a9a9eda5527a5cb76e65b69e1a /libkms | |
parent | 537f0580ac6bf94b0279b366264d3907f9fa872c (diff) |
kms: Allow compiling libkms with Intel support
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
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); |