mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
Add compatibility define for pci_device_is_boot_display()
It will take some time for a new libpciaccess to be released and even then bumping the dependency for libpciaccess isn't attractive. If an older libpciaccess is used just add a static inline define. Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2038>
This commit is contained in:
committed by
Enrico Weigelt
parent
99473bb976
commit
a86be24e6e
@@ -18,7 +18,7 @@ struct pci_device;
|
||||
* callee code is already prepared for using it, but for the time being
|
||||
* we need a dummy - until the actual one is really there.
|
||||
*/
|
||||
#ifndef pci_device_is_boot_display
|
||||
#ifndef HAVE_PCI_DEVICE_IS_BOOT_DISPLAY
|
||||
static inline int pci_device_is_boot_display(struct pci_device *dev)
|
||||
{
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user