[ulf.hansson-mmc:next 51/67] arch/sh/boards/mach-ecovec24/setup.c:1465:26: error: 'sdhi1_gpio_table' undeclared; did you mean 'mmc_spi_gpio_table'?

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

 



tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git next
head:   0ad79684fecf2262a42f7b110087085a8ecaa0df
commit: babd0b238d11261bfd3c2dba59348a5497e39045 [51/67] mmc: host: tmio: 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 babd0b238d11261bfd3c2dba59348a5497e39045
        # 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: In function 'arch_setup':
>> arch/sh/boards/mach-ecovec24/setup.c:1465:26: error: 'sdhi1_gpio_table' undeclared (first use in this function); did you mean 'mmc_spi_gpio_table'?
     gpiod_add_lookup_table(&sdhi1_gpio_table);
                             ^~~~~~~~~~~~~~~~
                             mmc_spi_gpio_table
   arch/sh/boards/mach-ecovec24/setup.c:1465:26: note: each undeclared identifier is reported only once for each function it appears in

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

  1439	
  1440		/* Initialize CEU platform devices separately to map memory first */
  1441		device_initialize(&ecovec_ceu_devices[0]->dev);
  1442		arch_setup_pdev_archdata(ecovec_ceu_devices[0]);
  1443		dma_declare_coherent_memory(&ecovec_ceu_devices[0]->dev,
  1444					    ceu0_dma_membase, ceu0_dma_membase,
  1445					    ceu0_dma_membase +
  1446					    CEU_BUFFER_MEMORY_SIZE - 1,
  1447					    DMA_MEMORY_EXCLUSIVE);
  1448		platform_device_add(ecovec_ceu_devices[0]);
  1449	
  1450		device_initialize(&ecovec_ceu_devices[1]->dev);
  1451		arch_setup_pdev_archdata(ecovec_ceu_devices[1]);
  1452		dma_declare_coherent_memory(&ecovec_ceu_devices[1]->dev,
  1453					    ceu1_dma_membase, ceu1_dma_membase,
  1454					    ceu1_dma_membase +
  1455					    CEU_BUFFER_MEMORY_SIZE - 1,
  1456					    DMA_MEMORY_EXCLUSIVE);
  1457		platform_device_add(ecovec_ceu_devices[1]);
  1458	
  1459		gpiod_add_lookup_table(&cn12_power_gpiod_table);
  1460	#if defined(CONFIG_MMC_SDHI) || defined(CONFIG_MMC_SDHI_MODULE)
  1461		gpiod_add_lookup_table(&sdhi0_power_gpiod_table);
  1462		gpiod_add_lookup_table(&sdhi0_gpio_table);
  1463	#endif
  1464	#if !defined(CONFIG_MMC_SH_MMCIF) && !defined(CONFIG_MMC_SH_MMCIF_MODULE)
> 1465		gpiod_add_lookup_table(&sdhi1_gpio_table);
  1466	#endif
  1467	
  1468		return platform_add_devices(ecovec_devices,
  1469					    ARRAY_SIZE(ecovec_devices));
  1470	}
  1471	arch_initcall(arch_setup);
  1472	

---
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 Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux