]> Gentwo Git Trees - linux/.git/commit
PCI: ixp4xx: Guard ARM32-specific hook_fault_code()
authorBjorn Helgaas <bhelgaas@google.com>
Thu, 25 Sep 2025 20:26:46 +0000 (15:26 -0500)
committerManivannan Sadhasivam <mani@kernel.org>
Sun, 19 Oct 2025 07:38:19 +0000 (13:08 +0530)
commitd2713dfda04ebc824c2c72f225a817e370dfa99f
treed4dcb1d95cbdf2a6dfe16fccb2a57b228c5f5286
parent3a8660878839faadb4f1a6dd72c3179c1df56787
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
drivers/pci/controller/Kconfig
drivers/pci/controller/pci-ixp4xx.c