diff options
Diffstat (limited to 'board_enable.c')
-rw-r--r-- | board_enable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board_enable.c b/board_enable.c index 66c587e..81dcfec 100644 --- a/board_enable.c +++ b/board_enable.c @@ -1047,7 +1047,7 @@ static int nvidia_mcp_gpio_set(int gpio, int raise) return -1; } -#if PCI_LIB_VERSION >= 0x020200 +#if !defined(OLD_PCI_GET_DEV) dev = pci_get_dev(pacc, dev->domain, dev->bus, dev->dev, 1); #else /* pciutils/libpci before version 2.2 is too old to support |