Re: [PATCH 1/1] [media] i2c: add support for OV13858 sensor

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

 



Hi Hyungwoo,

[auto build test ERROR on linuxtv-media/master]
[also build test ERROR on v4.12-rc2 next-20170524]
[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/Hyungwoo-Yang/i2c-add-support-for-OV13858-sensor/20170524-201204
base:   git://linuxtv.org/media_tree.git master
config: tile-allmodconfig (attached as .config)
compiler: tilegx-linux-gcc (GCC) 4.6.2
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=tile 

All errors (new ones prefixed by >>):

   drivers/media/i2c/ov13858.c: In function 'ov13858_set_ctrl':
>> drivers/media/i2c/ov13858.c:1297:36: error: 'struct dev_pm_info' has no member named 'usage_count'
   drivers/media/i2c/ov13858.c: In function 'ov13858_prepare_streaming':
   drivers/media/i2c/ov13858.c:1568:2: error: implicit declaration of function '__v4l2_ctrl_handler_setup'
   cc1: some warnings being treated as errors

vim +1297 drivers/media/i2c/ov13858.c

  1291		struct ov13858 *ov13858 = container_of(ctrl->handler,
  1292						       struct ov13858, ctrl_handler);
  1293		struct i2c_client *client = v4l2_get_subdevdata(&ov13858->sd);
  1294		int ret = 0;
  1295	
  1296		/* Values of V4L2 controls will be applied only when power is up */
> 1297		if (atomic_read(&client->dev.power.usage_count) == 0)
  1298			return 0;
  1299	
  1300		ret = pm_runtime_get_sync(&client->dev);

---
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 Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux