OpenCloudOS-Kernel/drivers/pinctrl/mediatek
Ryder Lee 2d2d478576 pinctrl: mediatek: fix Kconfig build errors for moore core
on i386 or x86_64:

Lots of build errors for drivers/pinctrl/mediatek/pinctrl-moore.c when
CONFIG_OF is not enabled (but COMPILE_TEST is).

first this:
WARNING: unmet direct dependencies detected for PINCTRL_MTK_MOORE
  Depends on [n]: PINCTRL [=y] && (ARCH_MEDIATEK || COMPILE_TEST [=y])
  && OF [=n]
  Selected by [y]:
  - PINCTRL_MT7623 [=y] && PINCTRL [=y] &&
  (ARCH_MEDIATEK || COMPILE_TEST [=y]) && (MACH_MT7623 || COMPILE_TEST [=y])

and then:
../drivers/pinctrl/mediatek/pinctrl-moore.c:22:44: error: array type has
   incomplete element type
   static const struct pinconf_generic_params mtk_custom_bindings[] = {
(etc)

Fixes: b5af33df50 ("pinctrl: mediatek: improve Kconfig dependencies")
Cc: stable@vger.kernel.org
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Acked-by: Sean Wang <sean.wang@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2019-01-11 15:22:49 +01:00
..
Kconfig pinctrl: mediatek: fix Kconfig build errors for moore core 2019-01-11 15:22:49 +01:00
Makefile pinctrl: mediatek: add pinctrl support for MT7629 SoC 2018-11-19 15:40:26 +01:00
mtk-eint.c pinctrl: Include <linux/gpio/driver.h> nothing else 2018-09-14 15:10:57 +02:00
mtk-eint.h pinctrl: mediatek: mark dummy helpers as 'static inline' 2018-09-28 09:27:04 +02:00
pinctrl-moore.c pinctrl: mediatek: clean up indentation issues, add missing tab 2018-11-09 09:54:54 +01:00
pinctrl-moore.h pinctrl: mtk: Fix up GPIO includes 2018-09-18 16:38:27 -07:00
pinctrl-mt2701.c pinctrl: mediatek: remove unused fields in struct mtk_eint_hw 2018-05-24 09:40:10 +02:00
pinctrl-mt2712.c pinctrl: mediatek: remove unused fields in struct mtk_eint_hw 2018-05-24 09:40:10 +02:00
pinctrl-mt6397.c pinctrl: mediatek: use builtin_platform_driver 2016-11-22 10:17:28 +01:00
pinctrl-mt6765.c pinctrl: mediatek: add eint support to MT6765 pinctrl driver 2018-09-21 09:13:54 -07:00
pinctrl-mt6797.c pinctrl: mediatek: Add initial pinctrl driver for MT6797 SoC 2018-11-15 11:05:54 +01:00
pinctrl-mt7622.c pinctrl: mediatek: extend struct mtk_pin_desc which per-pin driver depends on 2018-09-18 14:53:22 -07:00
pinctrl-mt7623.c pinctrl: mediatek: extend struct mtk_pin_desc which per-pin driver depends on 2018-09-18 14:53:22 -07:00
pinctrl-mt7629.c pinctrl: mediatek: add pinctrl support for MT7629 SoC 2018-11-19 15:40:26 +01:00
pinctrl-mt8127.c pinctrl: mediatek: remove unused fields in struct mtk_eint_hw 2018-05-24 09:40:10 +02:00
pinctrl-mt8135.c pinctrl: mediatek: remove unused fields in struct mtk_eint_hw 2018-05-24 09:40:10 +02:00
pinctrl-mt8173.c pinctrl: mediatek: remove unused fields in struct mtk_eint_hw 2018-05-24 09:40:10 +02:00
pinctrl-mt8183.c pinctrl: mediatek: add eint support to MT8183 pinctrl driver 2018-09-18 14:53:42 -07:00
pinctrl-mtk-common-v2.c pinctrl: mediatek: make symbol 'mtk_drive' static 2018-09-21 09:02:37 -07:00
pinctrl-mtk-common-v2.h pinctrl: mediatek: Make eint_m u16 2018-10-15 16:17:01 +02:00
pinctrl-mtk-common.c pinctrl: Convert to using %pOFn instead of device_node.name 2018-08-29 14:05:36 +02:00
pinctrl-mtk-common.h pinctrl: mediatek: use generic EINT register maps for each SoC 2018-05-24 09:39:25 +02:00
pinctrl-mtk-mt2701.h pinctrl: mtk: fix check warnings. 2018-03-26 10:58:33 +02:00
pinctrl-mtk-mt2712.h pinctrl: add mt2712 pinctrl driver 2018-03-26 10:53:39 +02:00
pinctrl-mtk-mt6397.h pinctrl: mtk: fix check warnings. 2018-03-26 10:58:33 +02:00
pinctrl-mtk-mt6765.h pinctrl: mediatek: add MT6765 pinctrl driver 2018-09-21 09:12:55 -07:00
pinctrl-mtk-mt6797.h pinctrl: mediatek: Add initial pinctrl driver for MT6797 SoC 2018-11-15 11:05:54 +01:00
pinctrl-mtk-mt8127.h pinctrl: mtk: fix check warnings. 2018-03-26 10:58:33 +02:00
pinctrl-mtk-mt8135.h pinctrl: mtk: fix check warnings. 2018-03-26 10:58:33 +02:00
pinctrl-mtk-mt8173.h pinctrl: mtk: fix check warnings. 2018-03-26 10:58:33 +02:00
pinctrl-mtk-mt8183.h pinctrl: mediatek: add MT8183 pinctrl driver 2018-09-18 14:53:29 -07:00
pinctrl-paris.c pinctrl: mediatek: Convert to using %pOFn instead of device_node.name 2018-11-19 15:40:27 +01:00
pinctrl-paris.h pinctrl: mtk: Fix up GPIO includes 2018-09-18 16:38:27 -07:00