[gpio:gpio-descriptors-regulator-fixed 1/1] arch/sh/boards/mach-ecovec24/setup.c:1435:26: error: 'sdhi0_power_gpiod_table' undeclared; did you mean 'cn12_power_gpiod_table'?

[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-regulator-fixed
head:   d7ac2914812399c8dbcc6978e84f17daa70a2664
commit: d7ac2914812399c8dbcc6978e84f17daa70a2664 [1/1] regulator: fixed: Convert to use GPIO descriptor only
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 d7ac2914812399c8dbcc6978e84f17daa70a2664
        # 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:1435:26: error: 'sdhi0_power_gpiod_table' undeclared (first use in this function); did you mean 'cn12_power_gpiod_table'?
     gpiod_add_lookup_table(&sdhi0_power_gpiod_table);
                             ^~~~~~~~~~~~~~~~~~~~~~~
                             cn12_power_gpiod_table
   arch/sh/boards/mach-ecovec24/setup.c:1435:26: note: each undeclared identifier is reported only once for each function it appears in

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

  1414	
  1415		/* Initialize CEU platform devices separately to map memory first */
  1416		device_initialize(&ecovec_ceu_devices[0]->dev);
  1417		arch_setup_pdev_archdata(ecovec_ceu_devices[0]);
  1418		dma_declare_coherent_memory(&ecovec_ceu_devices[0]->dev,
  1419					    ceu0_dma_membase, ceu0_dma_membase,
  1420					    ceu0_dma_membase +
  1421					    CEU_BUFFER_MEMORY_SIZE - 1,
  1422					    DMA_MEMORY_EXCLUSIVE);
  1423		platform_device_add(ecovec_ceu_devices[0]);
  1424	
  1425		device_initialize(&ecovec_ceu_devices[1]->dev);
  1426		arch_setup_pdev_archdata(ecovec_ceu_devices[1]);
  1427		dma_declare_coherent_memory(&ecovec_ceu_devices[1]->dev,
  1428					    ceu1_dma_membase, ceu1_dma_membase,
  1429					    ceu1_dma_membase +
  1430					    CEU_BUFFER_MEMORY_SIZE - 1,
  1431					    DMA_MEMORY_EXCLUSIVE);
  1432		platform_device_add(ecovec_ceu_devices[1]);
  1433	
  1434		gpiod_add_lookup_table(&cn12_power_gpiod_table);
> 1435		gpiod_add_lookup_table(&sdhi0_power_gpiod_table);
  1436	
  1437		return platform_add_devices(ecovec_devices,
  1438					    ARRAY_SIZE(ecovec_devices));
  1439	}
  1440	arch_initcall(arch_setup);
  1441	

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