mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-08 12:28:12 +02:00
drm: implement get_display_name
This just allows the drm plugin to work if udev is disabled.
This commit is contained in:
parent
d1912192f2
commit
8d1764981b
1 changed files with 8 additions and 1 deletions
|
|
@ -621,6 +621,12 @@ create_backend (const char *device_name,
|
|||
return backend;
|
||||
}
|
||||
|
||||
static const char *
|
||||
get_device_name (ply_renderer_backend_t *backend)
|
||||
{
|
||||
return backend->device_name;
|
||||
}
|
||||
|
||||
static void
|
||||
destroy_backend (ply_renderer_backend_t *backend)
|
||||
{
|
||||
|
|
@ -1285,7 +1291,8 @@ ply_renderer_backend_get_interface (void)
|
|||
.get_input_source = get_input_source,
|
||||
.open_input_source = open_input_source,
|
||||
.set_handler_for_input_source = set_handler_for_input_source,
|
||||
.close_input_source = close_input_source
|
||||
.close_input_source = close_input_source,
|
||||
.get_device_name = get_device_name
|
||||
};
|
||||
|
||||
return &plugin_interface;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue