randconfig build error with next-20140306, in sound/soc/codecs/rt5640.c

From: Jim Davis <hidden>
Date: 2014-03-06 22:16:53
Also in: lkml

Building with the attached random configuration file,

sound/soc/codecs/rt5640.c:2220:1: warning: data definition has no type
or storage class [enabled by default]
 module_i2c_driver(rt5640_i2c_driver);
 ^
sound/soc/codecs/rt5640.c:2220:1: error: type defaults to 'int' in
declaration of 'module_i2c_driver' [-Werror=implicit-int]
sound/soc/codecs/rt5640.c:2220:1: warning: parameter names (without
types) in function declaration [enabled by default]
sound/soc/codecs/rt5640.c:2210:26: warning: 'rt5640_i2c_driver' defined but not
used [-Wunused-variable]
 static struct i2c_driver rt5640_i2c_driver = {
                          ^
  CC      drivers/ata/pata_efar.o
cc1: some warnings being treated as errors
make[3]: *** [sound/soc/codecs/rt5640.o] Error 1

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help