]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: mxs: GPIO_MXS should not default to y unconditionally
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 8 Feb 2021 14:51:53 +0000 (15:51 +0100)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 10 Feb 2021 13:25:59 +0000 (14:25 +0100)
commit52feea9b2d1c5ae39b344160483446a76e3784b7
treea35228293136909bde1434880cd6878050bd2318
parent85fd09d4b3b21becfbc020f4eaa7530f9eefd0d8
gpio: mxs: GPIO_MXS should not default to y unconditionally

Merely enabling CONFIG_COMPILE_TEST should not enable additional code.
To fix this, restrict the automatic enabling of GPIO_MXS to ARCH_MXS,
and ask the user in case of compile-testing.

Fixes: d13b8d987be8340f ("gpio: mxs: add COMPILE_TEST support for GPIO_MXS")
Cc: <stable@vger.kernel.org>
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/Kconfig