[linux-yocto] [PATCH 34/48] drivers/pci/host: Fix Axxia Compile Errors
Daniel Dragomir
daniel.dragomir at windriver.com
Mon Dec 11 05:14:04 PST 2017
From: John Jacques <john.jacques at intel.com>
The MSI changes to the Axxia driver should only be
included when CONFIG_PCI_MSI is defined.
Signed-off-by: John Jacques <john.jacques at intel.com>
---
drivers/pci/host/pcie-axxia.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/pci/host/pcie-axxia.c b/drivers/pci/host/pcie-axxia.c
index 84909f1..1859246 100644
--- a/drivers/pci/host/pcie-axxia.c
+++ b/drivers/pci/host/pcie-axxia.c
@@ -32,7 +32,9 @@
#include "pcie-axxia.h"
+#ifdef CONFIG_PCI_MSI
#define AXXIA_GENERIC_MSI_DOMAIN_IRQ 1
+#endif /* CONFIG_PCI_MSI */
#define PEI_GENERAL_CORE_CTL_REG 0x38
#define PEI_SII_PWR_MGMT_REG 0xD4
--
2.7.4
More information about the linux-yocto
mailing list