config: fix build with -Dudev=false -Dudev_kms=true
Some checks are pending
Build X servers / xserver-build-ubuntu (push) Waiting to run
Build X servers / drivers-build-ubuntu (push) Waiting to run
Build X servers / xserver-build-macos (push) Waiting to run
Build X servers / Release pushed tag (push) Waiting to run

Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
stefan11111 2025-07-27 02:05:42 +03:00 committed by Enrico Weigelt
commit a956cfa211

View file

@ -74,7 +74,7 @@ config_fini(void)
void
config_odev_probe(config_odev_probe_proc_ptr probe_callback)
{
#if defined(CONFIG_UDEV_KMS)
#if defined(CONFIG_UDEV) && defined(CONFIG_UDEV_KMS)
config_udev_odev_probe(probe_callback);
#endif
}