Hi Luis, [auto build test ERROR on wsa/i2c/for-next] [also build test ERROR on next-20170302] [cannot apply to v4.10] [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/Luis-Oliveira/i2c-designware-add-I2C-SLAVE-support/20170303-034755 base: https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git i2c/for-next config: x86_64-randconfig-x016-201709 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): drivers/i2c/busses/i2c-designware-platdrv.c: In function 'dw_i2c_plat_suspend': >> drivers/i2c/busses/i2c-designware-platdrv.c:350:5: error: 'struct device' has no member named 'disable' dev->disable(i_dev); ^~ drivers/i2c/busses/i2c-designware-platdrv.c: In function 'dw_i2c_plat_resume': >> drivers/i2c/busses/i2c-designware-platdrv.c:364:6: error: 'struct device' has no member named 'init' dev->init(i_dev); ^~ vim +350 drivers/i2c/busses/i2c-designware-platdrv.c 344 #ifdef CONFIG_PM 345 static int dw_i2c_plat_suspend(struct device *dev) 346 { 347 struct platform_device *pdev = to_platform_device(dev); 348 struct dw_i2c_dev *i_dev = platform_get_drvdata(pdev); 349 > 350 dev->disable(i_dev); 351 i2c_dw_plat_prepare_clk(i_dev, false); 352 353 return 0; 354 } 355 356 static int dw_i2c_plat_resume(struct device *dev) 357 { 358 struct platform_device *pdev = to_platform_device(dev); 359 struct dw_i2c_dev *i_dev = platform_get_drvdata(pdev); 360 361 i2c_dw_plat_prepare_clk(i_dev, true); 362 363 if (!i_dev->pm_runtime_disabled) > 364 dev->init(i_dev); 365 366 return 0; 367 } --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip