mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xfree86: common: xf86pciBus: 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. Signed-off-by: Tautvis <gtautvis@gmail.com>
This commit is contained in:
committed by
Enrico Weigelt
parent
06ae758f57
commit
78213678b2
@@ -94,4 +94,11 @@ xf86PlatformDeviceCheckBusID(struct xf86_platform_device *device, const char *bu
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef pci_device_is_boot_display
|
||||
static inline Bool pci_device_is_boot_display(struct pci_device *dev)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user