• Arnd Bergmann's avatar
    irqchip/mvebu-odmi: Select GENERIC_MSI_IRQ_DOMAIN · 889163d7
    Arnd Bergmann authored
    
    [ Upstream commit fa23b9d1 ]
    
    This driver uses the MSI domain but has no strict dependency on PCI_MSI, so we
    may run into a build failure when CONFIG_GENERIC_MSI_IRQ_DOMAIN is disabled:
    
    drivers/irqchip/irq-mvebu-odmi.c:152:15: error: variable 'odmi_msi_ops' has initializer but incomplete type
     static struct msi_domain_ops odmi_msi_ops = {
                   ^~~~~~~~~~~~~~
    drivers/irqchip/irq-mvebu-odmi.c:155:15: error: variable 'odmi_msi_domain_info' has initializer but incomplete type
     static struct msi_domain_info odmi_msi_domain_info = {
                   ^~~~~~~~~~~~~~~
    drivers/irqchip/irq-mvebu-odmi.c:156:3: error: 'struct msi_domain_info' has no member named 'flags'
      .flags = (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS),
       ^~~~~
    drivers/irqchip/irq-mvebu-odmi.c:156:12: error: 'MSI_FLAG_USE_DEF_DOM_OPS' undeclared here (not in a function)
      .flags = (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS),
            ...
    889163d7
Kconfig 4.56 KB