[PATCH v9 5/5] usb: dwc3: add rockchip specific glue layer

kbuild test robot lkp at intel.com
Mon Aug 15 00:56:00 PDT 2016


Hi William,

[auto build test ERROR on balbi-usb/next]
[also build test ERROR on v4.8-rc2 next-20160815]
[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/William-Wu/support-rockchip-dwc3-driver/20160815-151035
base:   https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git next
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-6 (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   In file included from drivers/usb/dwc3/dwc3-rockchip.c:18:0:
>> drivers/usb/dwc3/dwc3-rockchip.c:424:25: error: 'of_dwc3_rockchip_match' undeclared here (not in a function)
    MODULE_DEVICE_TABLE(of, of_dwc3_rockchip_match);
                            ^
   include/linux/module.h:223:21: note: in definition of macro 'MODULE_DEVICE_TABLE'
    extern const typeof(name) __mod_##type##__##name##_device_table  \
                        ^~~~
>> include/linux/module.h:223:27: error: '__mod_of__of_dwc3_rockchip_match_device_table' aliased to undefined symbol 'of_dwc3_rockchip_match'
    extern const typeof(name) __mod_##type##__##name##_device_table  \
                              ^
>> drivers/usb/dwc3/dwc3-rockchip.c:424:1: note: in expansion of macro 'MODULE_DEVICE_TABLE'
    MODULE_DEVICE_TABLE(of, of_dwc3_rockchip_match);
    ^~~~~~~~~~~~~~~~~~~

vim +/of_dwc3_rockchip_match +424 drivers/usb/dwc3/dwc3-rockchip.c

   418	
   419	static const struct of_device_id rockchip_dwc3_match[] = {
   420		{ .compatible = "rockchip,rk3399-dwc3" },
   421		{ /* Sentinel */ }
   422	};
   423	
 > 424	MODULE_DEVICE_TABLE(of, of_dwc3_rockchip_match);
   425	
   426	static struct platform_driver dwc3_rockchip_driver = {
   427		.probe		= dwc3_rockchip_probe,

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/octet-stream
Size: 54781 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20160815/73688f01/attachment-0001.obj>


More information about the Linux-rockchip mailing list