pinctrl: lochnagar: Don't build on MIPS
Subsystems (3)
Charles Keepax
maintainerPATCH 1/1 pinctrl: lochnagar: Don't build on MIPS
MIPS appears to define a RST symbol at a high level, which clashes with some register naming in the driver. Since there is currently no case for running this driver on MIPS devices simply cut off the build of this driver on MIPS.
Reported-by kernel test robot <[email protected]>
Suggested-by Linus Walleij <[email protected]>
Signed-off-by Charles Keepax <[email protected]>
--- drivers/pinctrl/cirrus/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/pinctrl/cirrus/Kconfig +2 -1
@@ -12,7 +12,8 @@ config PINCTRL_CS42L43 config PINCTRL_LOCHNAGAR tristate "Cirrus Logic Lochnagar pinctrl driver" - depends on MFD_LOCHNAGAR +# Avoid clash caused by MIPS defining RST, which is used in the driver + depends on MFD_LOCHNAGAR && !MIPS select GPIOLIB select PINMUX select PINCONF
Signature · 1 line
2.39.2
Quoted 9 lines · Charles Keepax
MIPS appears to define a RST symbol at a high level, which clashes with some register naming in the driver. Since there is currently no case for running this driver on MIPS devices simply cut off the build of this driver on MIPS.
Reported-by kernel test robot <[email protected]>Suggested-by Linus Walleij <[email protected]>Signed-off-by Charles Keepax <[email protected]>
Patch applied.
Yours,
Linus Walleij