summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tdm_drm.c2
-rw-r--r--src/tdm_drm.h2
-rw-r--r--src/tdm_drm_display.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/tdm_drm.c b/src/tdm_drm.c
index ac8d1bc..8489712 100644
--- a/src/tdm_drm.c
+++ b/src/tdm_drm.c
@@ -266,7 +266,7 @@ tdm_drm_init(tdm_display *dpy, tdm_error *error)
LIST_INITHEAD(&drm_data->buffer_list);
memset(&drm_func_display, 0, sizeof(drm_func_display));
- drm_func_display.display_get_capabilitiy = drm_display_get_capabilitiy;
+ drm_func_display.display_get_capability = drm_display_get_capability;
drm_func_display.display_get_pp_capability = drm_display_get_pp_capability;
drm_func_display.display_get_outputs = drm_display_get_outputs;
drm_func_display.display_get_fd = drm_display_get_fd;
diff --git a/src/tdm_drm.h b/src/tdm_drm.h
index d284475..99d6a36 100644
--- a/src/tdm_drm.h
+++ b/src/tdm_drm.h
@@ -30,7 +30,7 @@
#endif
/* drm backend functions (display) */
-tdm_error drm_display_get_capabilitiy(tdm_backend_data *bdata, tdm_caps_display *caps);
+tdm_error drm_display_get_capability(tdm_backend_data *bdata, tdm_caps_display *caps);
tdm_error drm_display_get_pp_capability(tdm_backend_data *bdata, tdm_caps_pp *caps);
tdm_output** drm_display_get_outputs(tdm_backend_data *bdata, int *count, tdm_error *error);
tdm_error drm_display_get_fd(tdm_backend_data *bdata, int *fd);
diff --git a/src/tdm_drm_display.c b/src/tdm_drm_display.c
index e1237ba..7fdee22 100644
--- a/src/tdm_drm_display.c
+++ b/src/tdm_drm_display.c
@@ -923,7 +923,7 @@ failed_create:
}
tdm_error
-drm_display_get_capabilitiy(tdm_backend_data *bdata, tdm_caps_display *caps)
+drm_display_get_capability(tdm_backend_data *bdata, tdm_caps_display *caps)
{
RETURN_VAL_IF_FAIL(caps, TDM_ERROR_INVALID_PARAMETER);