Re: [PATCH] i2c: hibvt: add Hisilicon BVT I2C controller driver

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

 



Hi,

[auto build test ERROR on wsa/i2c/for-next]
[also build test ERROR on v4.7-rc4 next-20160622]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Pan-Wen/i2c-hibvt-add-Hisilicon-BVT-I2C-controller-driver/20160622-170505
base:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux i2c/for-next
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 5.3.1-8) 5.3.1 20160205
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm64 

All errors (new ones prefixed by >>):

   drivers/i2c/busses/i2c-hibvt.c: In function 'hibvt_i2c_suspend':
>> drivers/i2c/busses/i2c-hibvt.c:693:23: error: 'struct hibvt_i2c_dev' has no member named 'adapter'
     i2c_lock_adapter(&i2c->adapter);
                          ^
   drivers/i2c/busses/i2c-hibvt.c:695:25: error: 'struct hibvt_i2c_dev' has no member named 'adapter'
     i2c_unlock_adapter(&i2c->adapter);
                            ^
   drivers/i2c/busses/i2c-hibvt.c: In function 'hibvt_i2c_resume':
   drivers/i2c/busses/i2c-hibvt.c:704:23: error: 'struct hibvt_i2c_dev' has no member named 'adapter'
     i2c_lock_adapter(&i2c->adapter);
                          ^
   drivers/i2c/busses/i2c-hibvt.c:707:25: error: 'struct hibvt_i2c_dev' has no member named 'adapter'
     i2c_unlock_adapter(&i2c->adapter);
                            ^

vim +693 drivers/i2c/busses/i2c-hibvt.c

   687	
   688	#ifdef CONFIG_PM_SLEEP
   689	static int hibvt_i2c_suspend(struct device *dev)
   690	{
   691		struct hibvt_i2c_dev *i2c = dev_get_drvdata(dev);
   692	
 > 693		i2c_lock_adapter(&i2c->adapter);
   694		clk_disable_unprepare(i2c->clk);
   695		i2c_unlock_adapter(&i2c->adapter);
   696	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data


[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