Re: [PATCH v5 10/11] clk: mediatek: Add MT6765 clock support

From: kbuild test robot
Date: Tue Jul 17 2018 - 12:10:07 EST


Hi Owen,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on robh/for-next]
[also build test ERROR on v4.18-rc5 next-20180717]
[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/Mars-Cheng/Add-basic-SoC-support-for-mt6765/20180717-205540
base: https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
config: i386-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

>> drivers/clk/mediatek/clk-mt6765-vcodec.c:75:21: error: 'of_match_clk_mt6765_vcodec' undeclared here (not in a function); did you mean 'of_match_clk_mt6765_venc'?
.of_match_table = of_match_clk_mt6765_vcodec,
^~~~~~~~~~~~~~~~~~~~~~~~~~
of_match_clk_mt6765_venc

vim +75 drivers/clk/mediatek/clk-mt6765-vcodec.c

70
71 static struct platform_driver clk_mt6765_vcodec_drv = {
72 .probe = clk_mt6765_vcodec_probe,
73 .driver = {
74 .name = "clk-mt6765-vcodec",
> 75 .of_match_table = of_match_clk_mt6765_vcodec,
76 },
77 };
78

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation

Attachment: .config.gz
Description: application/gzip