summaryrefslogtreecommitdiff
path: root/libkms/linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'libkms/linux.c')
-rw-r--r--libkms/linux.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libkms/linux.c b/libkms/linux.c
index 02182d39..7449abc1 100644
--- a/libkms/linux.c
+++ b/libkms/linux.c
@@ -111,6 +111,10 @@ linux_from_sysfs(int fd, struct kms_driver **out)
else if (!strcmp(name, "nouveau"))
ret = nouveau_create(fd, out);
#endif
+#ifdef HAVE_RADEON
+ else if (!strcmp(name, "radeon"))
+ ret = radeon_create(fd, out);
+#endif
else
ret = -ENOSYS;