[waffle] [PATCH 03/10] gbm: make wgbm_get_default_fd_for_pattern public
Frank Henigman
fjhenigman at google.com
Mon Mar 30 12:12:43 PDT 2015
Signed-off-by: Frank Henigman <fjhenigman at google.com>
---
src/waffle/gbm/wgbm_display.c | 2 +-
src/waffle/gbm/wgbm_display.h | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/waffle/gbm/wgbm_display.c b/src/waffle/gbm/wgbm_display.c
index 76e6c32..b46524a 100644
--- a/src/waffle/gbm/wgbm_display.c
+++ b/src/waffle/gbm/wgbm_display.c
@@ -65,7 +65,7 @@ wgbm_display_destroy(struct wcore_display *wc_self)
return ok;
}
-static int
+int
wgbm_get_default_fd_for_pattern(const char *pattern)
{
struct udev *ud;
diff --git a/src/waffle/gbm/wgbm_display.h b/src/waffle/gbm/wgbm_display.h
index ba4bb89..e19664a 100644
--- a/src/waffle/gbm/wgbm_display.h
+++ b/src/waffle/gbm/wgbm_display.h
@@ -65,3 +65,6 @@ wgbm_display_get_native(struct wcore_display *wc_self);
void
wgbm_display_fill_native(struct wgbm_display *self,
struct waffle_gbm_display *n_dpy);
+
+int
+wgbm_get_default_fd_for_pattern(const char *pattern);
--
2.2.0.rc0.207.ga3a616c
More information about the waffle
mailing list