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/fsi-sbefifo.c: In function 'sbefifo_unregister_child':
>> drivers//fsi/fsi-sbefifo.c:775: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 +775 drivers//fsi/fsi-sbefifo.c

   769  EXPORT_SYMBOL_GPL(sbefifo_drv_release);
   770  
   771  static int sbefifo_unregister_child(struct device *dev, void *data)
   772  {
   773          struct platform_device *child = to_platform_device(dev);
   774  
 > 775          of_device_unregister(child);
   776          if (dev->of_node)
   777                  of_node_clear_flag(dev->of_node, OF_POPULATED);
   778  

---
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