mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
PCI: ixp4xx: Guard ARM32-specific hook_fault_code()
hook_fault_code() is an ARM32-specific API. Guard it and related code with CONFIG_ARM #ifdefs and remove the ARM arch dependency from Kconfig so the driver can be compile tested on other architectures. Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> [mani: dropped the ARM arch Kconfig dependency] Signed-off-by: Manivannan Sadhasivam <mani@kernel.org> Acked-by: Linus Walleij <linus.walleij@linar.org> Link: https://patch.msgid.link/20250925202738.2202195-1-helgaas@kernel.org
This commit is contained in:
committed by
Manivannan Sadhasivam
parent
3a86608788
commit
d2713dfda0
@@ -146,7 +146,7 @@ config PCIE_HISI_ERR
|
||||
|
||||
config PCI_IXP4XX
|
||||
bool "Intel IXP4xx PCI controller"
|
||||
depends on ARM && OF
|
||||
depends on OF
|
||||
depends on ARCH_IXP4XX || COMPILE_TEST
|
||||
default ARCH_IXP4XX
|
||||
help
|
||||
|
||||
Reference in New Issue
Block a user