linux/arch/arm/mach-shmobile
Arnd Bergmann 66f72f0c8e ARM: shmobile: only select sound drivers that build
A couple of codec drivers are selected by shmobile platform code,
but depend on I2C, which results in a build error:

sound/soc/codecs/ak4642.c:638:1: warning: data definition has no type or storage class
 module_i2c_driver(ak4642_i2c_driver);
 ^
sound/soc/codecs/ak4642.c:638:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
sound/soc/codecs/ak4642.c:638:1: warning: parameter names (without types) in function declaration
sound/soc/codecs/ak4642.c:627:26: warning: 'ak4642_i2c_driver' defined but not used [-Wunused-variable]

This ensures that we do not enable the respective drivers when I2C
is disabled.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
2015-05-25 10:36:01 +09:00
..
2014-12-09 14:18:35 -08:00
2015-02-24 07:12:15 +09:00
2014-08-08 11:14:29 -07:00
2014-06-17 17:09:39 +09:00
2014-06-17 17:09:39 +09:00
2014-06-17 17:09:39 +09:00
2015-04-22 09:09:46 -07:00
2015-04-22 09:09:46 -07:00
2013-04-08 17:39:24 +02:00