From b36af22c94ea8e02616f5ab0ca06001f41f69a49 Mon Sep 17 00:00:00 2001 From: Roman Gilg Date: Mon, 12 Apr 2021 10:39:51 +0200 Subject: backend: move get_drm_fd to public interface The get_drm_fd was made available in an internal header with a53ab146f. Move it now to the public header so consumers opting in to the unstable interfaces can make use of it. --- backend/multi/backend.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'backend/multi') diff --git a/backend/multi/backend.c b/backend/multi/backend.c index a8f96669..e9ed74ec 100644 --- a/backend/multi/backend.c +++ b/backend/multi/backend.c @@ -6,7 +6,6 @@ #include #include #include -#include "backend/backend.h" #include "backend/multi.h" #include "util/signal.h" @@ -103,7 +102,7 @@ static int multi_backend_get_drm_fd(struct wlr_backend *backend) { struct subbackend_state *sub; wl_list_for_each(sub, &multi->backends, link) { if (sub->backend->impl->get_drm_fd) { - return backend_get_drm_fd(sub->backend); + return wlr_backend_get_drm_fd(sub->backend); } } -- cgit v1.2.3