From: Pekka Paalanen <pekka.paala...@collabora.co.uk> This is a more logical name for the function, matching the pattern used in other backends and the hook names.
Signed-off-by: Pekka Paalanen <pekka.paala...@collabora.co.uk> --- libweston/compositor-fbdev.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libweston/compositor-fbdev.c b/libweston/compositor-fbdev.c index b3136708..7e0e7eef 100644 --- a/libweston/compositor-fbdev.c +++ b/libweston/compositor-fbdev.c @@ -479,7 +479,7 @@ out_hw_surface: } static int -fbdev_output_disable_handler(struct weston_output *base) +fbdev_output_disable(struct weston_output *base) { struct fbdev_output *output = to_fbdev_output(base); @@ -518,7 +518,7 @@ fbdev_output_create(struct fbdev_backend *backend, weston_output_init(&output->base, backend->compositor, "fbdev"); output->base.destroy = fbdev_output_destroy; - output->base.disable = fbdev_output_disable_handler; + output->base.disable = fbdev_output_disable; output->base.enable = fbdev_output_enable; /* only one static mode in list */ @@ -557,7 +557,7 @@ fbdev_output_destroy(struct weston_output *base) weston_log("Destroying fbdev output.\n"); - fbdev_output_disable_handler(base); + fbdev_output_disable(base); /* Remove the output. */ weston_output_release(&output->base); -- 2.13.5 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel