Re: [PATCH v2 1/2] media: Driver for Toshiba et8ek8 5MP sensor

From: kbuild test robot
Date: Sat Jun 11 2016 - 10:03:53 EST


Hi,

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.7-rc2 next-20160609]
[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/Ivaylo-Dimitrov/media-add-et8ek8-camera-sensor-driver-and-documentation/20160611-191922
base: git://linuxtv.org/media_tree.git master
config: m32r-allyesconfig (attached as .config)
compiler: m32r-linux-gcc (GCC) 4.9.0
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=m32r

All errors (new ones prefixed by >>):

>> drivers/media/i2c/et8ek8/et8ek8_driver.c:1580:9: error: lvalue required as unary '&' operand
.pm = &et8ek8_pm_ops,
^

vim +1580 drivers/media/i2c/et8ek8/et8ek8_driver.c

1574 };
1575 MODULE_DEVICE_TABLE(i2c, et8ek8_id_table);
1576
1577 static struct i2c_driver et8ek8_i2c_driver = {
1578 .driver = {
1579 .name = ET8EK8_NAME,
> 1580 .pm = &et8ek8_pm_ops,
1581 .of_match_table = et8ek8_of_table,
1582 },
1583 .probe = et8ek8_probe,

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

Attachment: .config.gz
Description: Binary data