Re: [PATCH 1/3] usb: host: fotg2: add devicetree probing

From: kbuild test robot
Date: Wed Feb 08 2017 - 23:29:14 EST

Hi Hans,

[auto build test ERROR on usb/usb-testing]
[also build test ERROR on v4.10-rc7 next-20170208]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

base: usb-testing
config: x86_64-randconfig-a0-02091152 (attached as .config)
compiler: gcc-4.4 (Debian 4.4.7-8) 4.4.7
# save the attached .config to linux build tree
make ARCH=x86_64

All errors (new ones prefixed by >>):

drivers/usb/host/fotg210-hcd.c:5694: error: 'exynos_ehci_match' undeclared here (not in a function)
>> drivers/usb/host/fotg210-hcd.c:5694: error: type defaults to 'int' in declaration of '__mod_of__exynos_ehci_match_device_table'

vim +5694 drivers/usb/host/fotg210-hcd.c

5689 #ifdef CONFIG_OF
5690 static const struct of_device_id fotg210_ehci_match[] = {
5691 { .compatible = "faraday,fotg210-hcd" },
5692 {},
5693 };
> 5694 MODULE_DEVICE_TABLE(of, exynos_ehci_match);
5695 #endif
5697 static struct platform_driver fotg210_hcd_driver = {

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip