264cfda099c0c60a79ee4b4b89c4792f85871b0a
[openwrt/staging/chunkeey.git] / target / linux / mediatek / patches-4.14 / 0170-pinctrl-mediatek-cleanup-for-placing-all-drivers-und.patch
1 From 547700768b2e7a105ed27a3b955fd9b7142987d7 Mon Sep 17 00:00:00 2001
2 From: Sean Wang <sean.wang@mediatek.com>
3 Date: Tue, 12 Dec 2017 14:24:19 +0800
4 Subject: [PATCH 170/224] pinctrl: mediatek: cleanup for placing all drivers
5 under the menu
6
7 Since lots of MediaTek drivers had been added, it seems slightly better
8 for that adding cleanup for placing MediaTek pinctrl drivers under the
9 independent menu as other kinds of drivers usually was done.
10
11 Signed-off-by: Sean Wang <sean.wang@mediatek.com>
12 Reviewed-by: Biao Huang <biao.huang@mediatek.com>
13 Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
14 ---
15 drivers/pinctrl/mediatek/Kconfig | 5 +++--
16 1 file changed, 3 insertions(+), 2 deletions(-)
17
18 diff --git a/drivers/pinctrl/mediatek/Kconfig b/drivers/pinctrl/mediatek/Kconfig
19 index fac9866311f3..03b3023d5fe5 100644
20 --- a/drivers/pinctrl/mediatek/Kconfig
21 +++ b/drivers/pinctrl/mediatek/Kconfig
22 @@ -1,4 +1,5 @@
23 -if ARCH_MEDIATEK || COMPILE_TEST
24 +menu "MediaTek pinctrl drivers"
25 + depends on ARCH_MEDIATEK || COMPILE_TEST
26
27 config PINCTRL_MTK
28 bool
29 @@ -46,4 +47,4 @@ config PINCTRL_MT6397
30 default MFD_MT6397
31 select PINCTRL_MTK
32
33 -endif
34 +endmenu
35 --
36 2.11.0
37