Update __FreeBSD_version check for pci_find_extcap() now that it is
present in 6.x.
This commit is contained in:
parent
be23ba9aab
commit
2dccd58192
@ -46,7 +46,7 @@ static int
|
||||
drm_device_find_capability(drm_device_t *dev, int cap)
|
||||
{
|
||||
#ifdef __FreeBSD__
|
||||
#if __FreeBSD_version >= 700010
|
||||
#if __FreeBSD_version >= 602102
|
||||
|
||||
return (pci_find_extcap(dev->device, cap, NULL) == 0);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user