[gpio:gpio-descriptors-mmc-cd-wp 4/10] arch/sh/boards/mach-ecovec24/setup.c:794:34: error: redefinition of 'tw9910_gpios'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git gpio-descriptors-mmc-cd-wp
head:   543d66f5f2906f1fe93f979e5067ff3a7ea8cc96
commit: c2eaf160b09f9379fb3f05b331e83018209de05c [4/10] mmc: spi: Convert to use GPIO descriptors
config: sh-ecovec24-romimage_defconfig (attached as .config)
compiler: sh4-linux-gnu-gcc (Debian 7.2.0-11) 7.2.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 c2eaf160b09f9379fb3f05b331e83018209de05c
        # save the attached .config to linux build tree
        GCC_VERSION=7.2.0 make.cross ARCH=sh 

All errors (new ones prefixed by >>):

>> arch/sh/boards/mach-ecovec24/setup.c:794:34: error: redefinition of 'tw9910_gpios'
    static struct gpiod_lookup_table tw9910_gpios = {
                                     ^~~~~~~~~~~~
   arch/sh/boards/mach-ecovec24/setup.c:473:34: note: previous definition of 'tw9910_gpios' was here
    static struct gpiod_lookup_table tw9910_gpios = {
                                     ^~~~~~~~~~~~
   arch/sh/boards/mach-ecovec24/setup.c:473:34: warning: 'tw9910_gpios' defined but not used [-Wunused-variable]

vim +/tw9910_gpios +794 arch/sh/boards/mach-ecovec24/setup.c

   793	
 > 794	static struct gpiod_lookup_table tw9910_gpios = {
   795		.dev_id		= "0-0045",
   796		.table		= {
   797			GPIO_LOOKUP("sh7724_pfc", GPIO_PTU2, "pdn", GPIO_ACTIVE_HIGH),
   798		},
   799	};
   800	
   801	

---
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