Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* New randconfig build failure: rx51 asoc / gpiolib
@ 2014-01-17 13:12 Russell King - ARM Linux
  2014-01-20 17:16 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Russell King - ARM Linux @ 2014-01-17 13:12 UTC (permalink / raw)
  To: linux-arm-kernel

Last night's omap randconfig found this.  This has only appeared in the
builds in the last few days, so it's a new regression for the changes
queued up for merge window:

sound/soc/omap/rx51.c:220:33: error: array type has incomplete element type
sound/soc/omap/rx51.c:222:3: error: field name not in record or union initializer
sound/soc/omap/rx51.c:222:3: error: (near initialization for 'rx51_av_jack_gpios')
sound/soc/omap/rx51.c:223:3: error: field name not in record or union initializer
sound/soc/omap/rx51.c:223:3: error: (near initialization for 'rx51_av_jack_gpios')
sound/soc/omap/rx51.c:224:3: error: field name not in record or union initializer
...
sound/soc/omap/rx51.c: In function 'rx51_aic34_init':
sound/soc/omap/rx51.c:325:2: error: implicit declaration of function 'snd_soc_jack_add_gpios'
sound/soc/omap/rx51.c:326:89: error: type defaults to 'int' in type name
sound/soc/omap/rx51.c:326:89: error: type defaults to 'int' in type name
sound/soc/omap/rx51.c:326:89: error: negative width in bit-field '<anonymous>'
sound/soc/omap/rx51.c: In function 'rx51_soc_exit':
sound/soc/omap/rx51.c:437:2: error: implicit declaration of function 'snd_soc_jack_free_gpios'
sound/soc/omap/rx51.c:437:120: error: type defaults to 'int' in type name
sound/soc/omap/rx51.c:437:120: error: type defaults to 'int' in type name
sound/soc/omap/rx51.c:437:120: error: negative width in bit-field '<anonymous>'

which is caused by "struct snd_soc_jack_gpio" not being defined.  For
some reason, this structure is defined in sound/soc.h, but is
conditionalised upon CONFIG_GPIOLIB.

This means either the dependencies on SND_OMAP_SOC_RX51 are incorrect
(they don't include a dependency on GPIOLIB) or ASoC is wrong to make
the definitions conditional upon GPIOLIB.

-- 
FTTC broadband for 0.8mile line: 5.8Mbps down 500kbps up.  Estimation
in database were 13.1 to 19Mbit for a good line, about 7.5+ for a bad.
Estimate before purchase was "up to 13.2Mbit".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-20 17:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-17 13:12 New randconfig build failure: rx51 asoc / gpiolib Russell King - ARM Linux
2014-01-20 17:16 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox