mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-01-10 09:20:23 +01:00
main: don't configure /dev/fb0 by default
The framebuffer backend now detects the framebuffer device dynamically. Don't assume that the framebuffer device is /dev/fb0 Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
4381040dc6
commit
352804488a
1 changed files with 0 additions and 3 deletions
|
|
@ -2065,9 +2065,6 @@ load_fbdev_backend(struct weston_compositor *c,
|
|||
|
||||
parse_options(fbdev_options, ARRAY_LENGTH(fbdev_options), argc, argv);
|
||||
|
||||
if (!config.device)
|
||||
config.device = strdup("/dev/fb0");
|
||||
|
||||
config.base.struct_version = WESTON_FBDEV_BACKEND_CONFIG_VERSION;
|
||||
config.base.struct_size = sizeof(struct weston_fbdev_backend_config);
|
||||
config.configure_device = configure_input_device;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue