summaryrefslogtreecommitdiff
path: root/src/egl/drivers/dri2/platform_drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/egl/drivers/dri2/platform_drm.c')
-rw-r--r--src/egl/drivers/dri2/platform_drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/drivers/dri2/platform_drm.c b/src/egl/drivers/dri2/platform_drm.c
index 12ab1e0c4c1..431bfa0fcc6 100644
--- a/src/egl/drivers/dri2/platform_drm.c
+++ b/src/egl/drivers/dri2/platform_drm.c
@@ -567,7 +567,7 @@ const struct dri2_driver_map driver_map[] = {
{ 0x1002, "r600", r600_chip_ids, ARRAY_SIZE(r600_chip_ids) },
};
-static char *
+char *
dri2_get_driver_for_fd(int fd)
{
struct udev *udev;