[linux-yocto] [PATCH 03/14] drivers/pci/host: Fix Axxia Compile Errors

Daniel Dragomir daniel.dragomir at windriver.com
Mon Dec 4 02:57:53 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 272da8a..b019031 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