Re: [PATCH v1 3/3] mmc: pwrseq: convert to proper platform device

From: kbuild test robot
Date: Wed Jan 20 2016 - 11:06:22 EST

Hi Srinivas,

[auto build test ERROR on ulf.hansson-mmc/next]
[also build test ERROR on next-20160120]
[cannot apply to v4.4]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

base: next
config: tile-allmodconfig (attached as .config)
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=tile

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

>> drivers/mmc/core/pwrseq_simple.c:149:1: warning: data definition has no type or storage class [enabled by default]
>> drivers/mmc/core/pwrseq_simple.c:149:1: error: type defaults to 'int' in declaration of 'device_initcall'
drivers/mmc/core/pwrseq_simple.c:149:1: warning: parameter names (without types) in function declaration [enabled by default]
drivers/mmc/core/pwrseq_simple.c:149:1: warning: 'mmc_pwrseq_simple_driver_init' defined but not used
cc1: some warnings being treated as errors

vim +149 drivers/mmc/core/pwrseq_simple.c

143 .driver = {
144 .name = "pwrseq_simple",
145 .of_match_table = mmc_pwrseq_simple_of_match,
146 },
147 };
> 149 builtin_platform_driver(mmc_pwrseq_simple_driver);

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

Attachment: .config.gz
Description: Binary data