[gpio:gpio-descriptors-regulator 1/18] arch/arm/mach-sa1100/assabet.c:831:30: error: 'assabet_gpio_base' undeclared; did you mean 'assabet_io_desc'?

[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
head:   ab16e3f6fc99e78ea65d3d9eaf0ded596e8f69b9
commit: 11ce33ba4c28b7c8a3e0e3f030479e55750cc82f [1/18] regulator: fixed: Convert to use GPIO descriptor only
config: arm-sa1100 (attached as .config)
compiler: arm-linux-gnueabi-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 11ce33ba4c28b7c8a3e0e3f030479e55750cc82f
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   arch/arm/mach-sa1100/assabet.c: In function 'assabet_init_irq':
   arch/arm/mach-sa1100/assabet.c:831:22: error: 'struct fixed_voltage_config' has no member named 'gpio'
     assabet_cf_vcc_pdata.gpio = assabet_gpio_base + 0;
                         ^
>> arch/arm/mach-sa1100/assabet.c:831:30: error: 'assabet_gpio_base' undeclared (first use in this function); did you mean 'assabet_io_desc'?
     assabet_cf_vcc_pdata.gpio = assabet_gpio_base + 0;
                                 ^~~~~~~~~~~~~~~~~
                                 assabet_io_desc
   arch/arm/mach-sa1100/assabet.c:831:30: note: each undeclared identifier is reported only once for each function it appears in

vim +831 arch/arm/mach-sa1100/assabet.c

^1da177e Linus Torvalds 2005-04-16  812  
b955153b Russell King   2016-08-31  813  void __init assabet_init_irq(void)
b955153b Russell King   2016-08-31  814  {
b955153b Russell King   2016-08-31  815  	u32 def_val;
b955153b Russell King   2016-08-31  816  
b955153b Russell King   2016-08-31  817  	sa1100_init_irq();
b955153b Russell King   2016-08-31  818  
b955153b Russell King   2016-08-31  819  	if (machine_has_neponset())
b955153b Russell King   2016-08-31  820  		def_val = ASSABET_BCR_DB1111;
b955153b Russell King   2016-08-31  821  	else
b955153b Russell King   2016-08-31  822  		def_val = ASSABET_BCR_DB1110;
b955153b Russell King   2016-08-31  823  
b955153b Russell King   2016-08-31  824  	/*
b955153b Russell King   2016-08-31  825  	 * Angel sets this, but other bootloaders may not.
b955153b Russell King   2016-08-31  826  	 *
b955153b Russell King   2016-08-31  827  	 * This must precede any driver calls to BCR_set() or BCR_clear().
b955153b Russell King   2016-08-31  828  	 */
11ce33ba Linus Walleij  2017-12-29  829  	assabet_init_gpio((void *)&ASSABET_BCR, def_val);
29786e9b Russell King   2016-08-31  830  
29786e9b Russell King   2016-08-31 @831  	assabet_cf_vcc_pdata.gpio = assabet_gpio_base + 0;
b955153b Russell King   2016-08-31  832  }
b955153b Russell King   2016-08-31  833  

:::::: The code at line 831 was first introduced by commit
:::::: 29786e9b6551b822de66aa64b07e21eeb36ded89 ARM: sa1100/assabet: convert to generic CF sockets

:::::: TO: Russell King <rmk+kernel@xxxxxxxxxxxxxxx>
:::::: CC: Russell King <rmk+kernel@xxxxxxxxxxxxxxx>

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