[wsa:i2c/pxa-header-move 1/2] arch/arm/mach-pxa/zeus.c:869:2: error: implicit declaration of function 'pxa_set_i2c_info'

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

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/pxa-header-move
head:   d6174521f041fa3db5fcdf9c1a9b0b006b3ba2b5
commit: 641987fde8fc7f3b950fef788f0a31060ec2e35d [1/2] ARM: pxa: move declarations to proper place
config: arm-zeus_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 641987fde8fc7f3b950fef788f0a31060ec2e35d
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

   arch/arm/mach-pxa/zeus.c: In function 'zeus_init':
>> arch/arm/mach-pxa/zeus.c:869:2: error: implicit declaration of function 'pxa_set_i2c_info' [-Werror=implicit-function-declaration]
     pxa_set_i2c_info(NULL);
     ^~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/pxa_set_i2c_info +869 arch/arm/mach-pxa/zeus.c

5f86cebaa Marc Zyngier             2009-12-26  837  
e491a11c7 Marc Zyngier             2009-11-14  838  static void __init zeus_init(void)
e491a11c7 Marc Zyngier             2009-11-14  839  {
5f86cebaa Marc Zyngier             2009-12-26  840  	u16 dm9000_msc = DM9K_MSC_VALUE;
ad68bb9f7 Marek Vasut              2010-11-03  841  	u32 msc0, msc1;
e491a11c7 Marc Zyngier             2009-11-14  842  
e491a11c7 Marc Zyngier             2009-11-14  843  	system_rev = __raw_readw(ZEUS_CPLD_VERSION);
e491a11c7 Marc Zyngier             2009-11-14  844  	pr_info("Zeus CPLD V%dI%d\n", (system_rev & 0xf0) >> 4, (system_rev & 0x0f));
e491a11c7 Marc Zyngier             2009-11-14  845  
e491a11c7 Marc Zyngier             2009-11-14  846  	/* Fix timings for dm9000s (CS1/CS2)*/
bc3e55c69 Marek Vasut              2011-01-10  847  	msc0 = (__raw_readl(MSC0) & 0x0000ffff) | (dm9000_msc << 16);
bc3e55c69 Marek Vasut              2011-01-10  848  	msc1 = (__raw_readl(MSC1) & 0xffff0000) | dm9000_msc;
ad68bb9f7 Marek Vasut              2010-11-03  849  	__raw_writel(msc0, MSC0);
ad68bb9f7 Marek Vasut              2010-11-03  850  	__raw_writel(msc1, MSC1);
e491a11c7 Marc Zyngier             2009-11-14  851  
e491a11c7 Marc Zyngier             2009-11-14  852  	pm_power_off = zeus_power_off;
a1916eb0e Marc Zyngier             2009-12-26  853  	zeus_setup_apm();
e491a11c7 Marc Zyngier             2009-11-14  854  
e491a11c7 Marc Zyngier             2009-11-14  855  	pxa2xx_mfp_config(ARRAY_AND_SIZE(zeus_pin_config));
e491a11c7 Marc Zyngier             2009-11-14  856  
e491a11c7 Marc Zyngier             2009-11-14  857  	platform_add_devices(zeus_devices, ARRAY_SIZE(zeus_devices));
e491a11c7 Marc Zyngier             2009-11-14  858  
541e00ae0 Laurent Pinchart         2014-04-16  859  	zeus_register_ohci();
e491a11c7 Marc Zyngier             2009-11-14  860  
e491a11c7 Marc Zyngier             2009-11-14  861  	if (zeus_setup_fb_gpios())
e491a11c7 Marc Zyngier             2009-11-14  862  		pr_err("Failed to setup fb gpios\n");
e491a11c7 Marc Zyngier             2009-11-14  863  	else
4321e1a12 Russell King - ARM Linux 2011-02-15  864  		pxa_set_fb_info(NULL, &zeus_fb_info);
e491a11c7 Marc Zyngier             2009-11-14  865  
e491a11c7 Marc Zyngier             2009-11-14  866  	pxa_set_mci_info(&zeus_mci_platform_data);
e491a11c7 Marc Zyngier             2009-11-14  867  	pxa_set_udc_info(&zeus_udc_info);
e491a11c7 Marc Zyngier             2009-11-14  868  	pxa_set_ac97_info(&zeus_ac97_info);
e491a11c7 Marc Zyngier             2009-11-14 @869  	pxa_set_i2c_info(NULL);
e491a11c7 Marc Zyngier             2009-11-14  870  	i2c_register_board_info(0, ARRAY_AND_SIZE(zeus_i2c_devices));
438a22fe2 Marc Zyngier             2010-02-18  871  	pxa2xx_set_spi_info(3, &pxa2xx_spi_ssp3_master_info);
438a22fe2 Marc Zyngier             2010-02-18  872  	spi_register_board_info(zeus_spi_board_info, ARRAY_SIZE(zeus_spi_board_info));
a927ef895 Robert Jarzmik           2015-07-11  873  
a927ef895 Robert Jarzmik           2015-07-11  874  	regulator_has_full_constraints();
e491a11c7 Marc Zyngier             2009-11-14  875  }
e491a11c7 Marc Zyngier             2009-11-14  876  

:::::: The code at line 869 was first introduced by commit
:::::: e491a11c77a4ed93ec14cc052b1f048bddc9e99a [ARM] pxa/zeus: basic support for Arcom Zeus SBC

:::::: TO: Marc Zyngier <maz@xxxxxxxxxxxxxxx>
:::::: CC: Eric Miao <eric.y.miao@xxxxxxxxx>

---
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 GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux