Hi Edward,

[auto build test ERROR on next-20170619]
[cannot apply to linux/master linus/master robh/for-next v4.12-rc6 v4.12-rc5 
v4.12-rc4 v4.12-rc6]
[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/Eddie-James/drivers-fsi-Add-SBEFIFO-and-OCC-drivers/20170623-160949
config: i386-randconfig-n0-06241643 (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=i386 

All errors (new ones prefixed by >>):

   drivers/fsi/occ.c: In function 'occ_unregister_child':
>> drivers/fsi/occ.c:669:2: error: implicit declaration of function 
>> 'of_device_unregister' [-Werror=implicit-function-declaration]
     of_device_unregister(child);
     ^~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/of_device_unregister +669 drivers/fsi/occ.c

   663  EXPORT_SYMBOL_GPL(occ_drv_release);
   664  
   665  static int occ_unregister_child(struct device *dev, void *data)
   666  {
   667          struct platform_device *child = to_platform_device(dev);
   668  
 > 669          of_device_unregister(child);
   670          if (dev->of_node)
   671                  of_node_clear_flag(dev->of_node, OF_POPULATED);
   672  

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

Attachment: .config.gz
Description: application/gzip

Reply via email to