Skip to content

Commit 3b6a18f

Browse files
arndbKAGA-KOKO
authored andcommitted
irqchip: Build IMX_MU_MSI only on ARM
Compile-testing IMX_MU_MSI on x86 without PCI_MSI support results in a build failure: drivers/gpio/gpio-sprd.c:8: include/linux/gpio/driver.h:41:33: error: field 'msiinfo' has incomplete type drivers/iommu/iommufd/viommu.c:4: include/linux/msi.h:528:33: error: field 'alloc_info' has incomplete type Tighten the dependency further to only allow compile testing on Arm. This could be refined further to allow certain x86 configs. This was submitted before to address a different build failure, which was fixed differently, but the problem has now returned in a different form. Fixes: 70afdab ("irqchip: Add IMX MU MSI controller driver") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected] Link: https://lore.kernel.org/all/[email protected]/
1 parent 5b65258 commit 3b6a18f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/irqchip/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,7 @@ config IMX_MU_MSI
554554
tristate "i.MX MU used as MSI controller"
555555
depends on OF && HAS_IOMEM
556556
depends on ARCH_MXC || COMPILE_TEST
557+
depends on ARM || ARM64
557558
default m if ARCH_MXC
558559
select IRQ_DOMAIN
559560
select IRQ_DOMAIN_HIERARCHY

0 commit comments

Comments
 (0)