Skip to content

Commit 6588732

Browse files
charleskeepaxLinus Walleij
authored andcommitted
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>
1 parent 4198a9b commit 6588732

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/pinctrl/cirrus/Kconfig

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ config PINCTRL_CS42L43
1212

1313
config PINCTRL_LOCHNAGAR
1414
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
1617
select GPIOLIB
1718
select PINMUX
1819
select PINCONF

0 commit comments

Comments
 (0)