Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202311071303.JJMAOjy4-lkp@intel.com/
Suggested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20231115162853.1891940-1-ckeepax@opensource.cirrus.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Charles Keepax and committed by
Linus Walleij
65887324 4198a9b5

+2 -1
+2 -1
drivers/pinctrl/cirrus/Kconfig
··· 12 12 13 13 config PINCTRL_LOCHNAGAR 14 14 tristate "Cirrus Logic Lochnagar pinctrl driver" 15 - depends on MFD_LOCHNAGAR 15 + # Avoid clash caused by MIPS defining RST, which is used in the driver 16 + depends on MFD_LOCHNAGAR && !MIPS 16 17 select GPIOLIB 17 18 select PINMUX 18 19 select PINCONF