Re: [PATCH v6 2/4] mfd: lp873x: Add lp873x PMIC support
From: kbuild test robot
Date: Mon Aug 08 2016 - 04:42:34 EST
Hi Keerthy,
[auto build test WARNING on gpio/for-next]
[also build test WARNING on v4.8-rc1 next-20160805]
[cannot apply to ljones-mfd/for-mfd-next]
[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/Keerthy/mfd-lp873x-Add-lp873x-PMIC-support/20160808-135204
base: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git for-next
config: cris-allyesconfig (attached as .config)
compiler: cris-linux-gcc (GCC) 4.6.3
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=cris
All warnings (new ones prefixed by >>):
drivers/mfd/lp873x.c:83:2: error: unknown field 'probe_new' specified in initializer
>> drivers/mfd/lp873x.c:83:2: warning: initialization from incompatible pointer type [enabled by default]
drivers/mfd/lp873x.c:83:2: warning: (near initialization for 'lp873x_driver.id_table') [enabled by default]
vim +83 drivers/mfd/lp873x.c
67
68 return ret;
69 }
70
71 static const struct of_device_id of_lp873x_match_table[] = {
72 { .compatible = "ti,lp8733", },
73 { .compatible = "ti,lp8732", },
74 {}
75 };
76 MODULE_DEVICE_TABLE(of, of_lp873x_match_table);
77
78 static struct i2c_driver lp873x_driver = {
79 .driver = {
80 .name = "lp873x",
81 .of_match_table = of_lp873x_match_table,
82 },
> 83 .probe_new = lp873x_probe,
84 };
85 module_i2c_driver(lp873x_driver);
86
87 MODULE_AUTHOR("J Keerthy <j-keerthy@xxxxxx>");
88 MODULE_DESCRIPTION("LP873X chip family multi-function driver");
89 MODULE_LICENSE("GPL v2");
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data