lkml.org 
[lkml]   [2016]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] clk: gpio: Make into a platform driver
Hi Stephen,

[auto build test ERROR on clk/clk-next]
[also build test ERROR on v4.5-rc2 next-20160202]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url: https://github.com/0day-ci/linux/commits/Stephen-Boyd/clk-gpio-Make-into-a-platform-driver/20160203-092337
base: https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git clk-next
config: mips-maltaaprp_defconfig (attached as .config)
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=mips

All error/warnings (new ones prefixed by >>):

>> drivers/clk/clk-gpio.c:263:1: warning: data definition has no type or storage class
MODULE_DEVICE_TABLE(of, gpio_clk_match_table);
^
>> drivers/clk/clk-gpio.c:263:1: error: type defaults to 'int' in declaration of 'MODULE_DEVICE_TABLE' [-Werror=implicit-int]
>> drivers/clk/clk-gpio.c:263:1: warning: parameter names (without types) in function declaration
cc1: some warnings being treated as errors

vim +263 drivers/clk/clk-gpio.c

257
258 static const struct of_device_id gpio_clk_match_table[] = {
259 { .compatible = "gpio-mux-clock" },
260 { .compatible = "gpio-gate-clock" },
261 { }
262 };
> 263 MODULE_DEVICE_TABLE(of, gpio_clk_match_table);
264
265 static struct platform_driver gpio_clk_driver = {
266 .probe = gpio_clk_driver_probe,

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2016-02-03 04:01    [W:0.040 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site