Re: [PATCH] goldfish: add goldfish match node for dt driver probe
From: kbuild test robot
Date: Fri Nov 06 2015 - 00:35:25 EST
Hi yalin,
[auto build test ERROR on staging/staging-testing]
[also build test ERROR on v4.3 next-20151105]
url: https://github.com/0day-ci/linux/commits/yalin-wang/goldfish-add-goldfish-match-node-for-dt-driver-probe/20151106-132647
config: x86_64-allyesconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=x86_64
All errors (new ones prefixed by >>):
>> drivers/staging/goldfish/goldfish_nand.c:446:3: error: request for member 'of_match_table' in something not a structure or union
.of_match_table = of_match_ptr(goldfish_nand_match),
^
vim +/of_match_table +446 drivers/staging/goldfish/goldfish_nand.c
440
441 static struct platform_driver goldfish_nand_driver = {
442 .probe = goldfish_nand_probe,
443 .remove = goldfish_nand_remove,
444 .driver = {
445 .name = "goldfish_nand"
> 446 .of_match_table = of_match_ptr(goldfish_nand_match),
447 }
448 };
449
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data