Re: [PATCH v9 5/5] usb: dwc3: add rockchip specific glue layer
From: kbuild test robot
Date: Mon Aug 15 2016 - 03:51:30 EST
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
Attachment:
.config.gz
Description: Binary data