Re: [PATCH] clk: bcm: Add driver for Northstar ILP clock

From: kbuild test robot
Date: Fri Jul 29 2016 - 13:04:15 EST


Hi,

[auto build test ERROR on clk/clk-next]
[also build test ERROR on v4.7 next-20160729]
[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/Rafa-Mi-ecki/clk-bcm-Add-driver-for-Northstar-ILP-clock/20160729-210140
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: arm-multi_v7_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 5.4.0-6) 5.4.0 20160609
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm

All errors (new ones prefixed by >>):

drivers/clk/bcm/clk-ns-ilp.c: In function 'ns_ilp_init':
>> drivers/clk/bcm/clk-ns-ilp.c:127:15: error: 'CLK_IS_ROOT' undeclared (first use in this function)
init.flags = CLK_IS_ROOT;
^
drivers/clk/bcm/clk-ns-ilp.c:127:15: note: each undeclared identifier is reported only once for each function it appears in

vim +/CLK_IS_ROOT +127 drivers/clk/bcm/clk-ns-ilp.c

121 err = PTR_ERR(ilp->alp_clk);
122 goto err_unmap_pmu;
123 }
124
125 init.name = np->name;
126 init.ops = &ns_ilp_clk_ops;
> 127 init.flags = CLK_IS_ROOT;
128
129 ilp->hw.init = &init;
130 ilp->clk = clk_register(NULL, &ilp->hw);

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

Attachment: .config.gz
Description: Binary data