[pinctrl:devel 42/49] drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h:234:20: error: field 'chip' has incomplete type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl.git devel
head:   3571b3a2734bf66acf3d24cdbaf9d18bf7cab7ba
commit: dd3388782730c137102c5fa0145b370157601103 [42/49] pinctrl: mtk: Fix up GPIO includes
config: xtensa-allmodconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 8.1.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout dd3388782730c137102c5fa0145b370157601103
        # save the attached .config to linux build tree
        GCC_VERSION=8.1.0 make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   In file included from drivers/pinctrl/mediatek/pinctrl-moore.h:25,
                    from drivers/pinctrl/mediatek/pinctrl-mt7622.c:9:
>> drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h:234:20: error: field 'chip' has incomplete type
     struct gpio_chip  chip;
                       ^~~~

vim +/chip +234 drivers/pinctrl/mediatek/pinctrl-mtk-common-v2.h

a1a503a8 Sean Wang   2018-09-08  228  
a1a503a8 Sean Wang   2018-09-08  229  struct mtk_pinctrl {
a1a503a8 Sean Wang   2018-09-08  230  	struct pinctrl_dev		*pctrl;
2bc47dfe Sean Wang   2018-09-08  231  	void __iomem			**base;
2bc47dfe Sean Wang   2018-09-08  232  	u8				nbase;
a1a503a8 Sean Wang   2018-09-08  233  	struct device			*dev;
a1a503a8 Sean Wang   2018-09-08 @234  	struct gpio_chip		chip;
a1a503a8 Sean Wang   2018-09-08  235  	const struct mtk_pin_soc        *soc;
a1a503a8 Sean Wang   2018-09-08  236  	struct mtk_eint			*eint;
80525098 Zhiyong Tao 2018-09-08  237  	struct mtk_pinctrl_group	*groups;
80525098 Zhiyong Tao 2018-09-08  238  	const char          **grp_names;
a1a503a8 Sean Wang   2018-09-08  239  };
a1a503a8 Sean Wang   2018-09-08  240  

:::::: The code at line 234 was first introduced by commit
:::::: a1a503a8c33204963f20594c723060baee3acbb2 pinctrl: mediatek: add pinctrl-mtk-common-v2 for all MediaTek pinctrls

:::::: TO: Sean Wang <sean.wang@xxxxxxxxxxxx>
:::::: CC: Linus Walleij <linus.walleij@xxxxxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux