summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/ibexpeak/lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/ibexpeak/lpc.c')
-rw-r--r--src/southbridge/intel/ibexpeak/lpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/ibexpeak/lpc.c b/src/southbridge/intel/ibexpeak/lpc.c
index 1735020b54..d4e3098ad2 100644
--- a/src/southbridge/intel/ibexpeak/lpc.c
+++ b/src/southbridge/intel/ibexpeak/lpc.c
@@ -96,7 +96,7 @@ static void pch_pirq_init(struct device *dev)
for (irq_dev = all_devices; irq_dev; irq_dev = irq_dev->next) {
u8 int_pin=0;
- if (!irq_dev->enabled || irq_dev->path.type != DEVICE_PATH_PCI)
+ if (!is_enabled_pci(irq_dev))
continue;
int_pin = pci_read_config8(irq_dev, PCI_INTERRUPT_PIN);