diff options
author | Axel Lin <axel.lin@gmail.com> | 2011-08-10 16:24:12 +0800 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-11 00:35:55 +0900 |
commit | f024d9a0854cb3f2d09603d1ed3a52f04778330d (patch) | |
tree | d309a9683fadbff398926a06b2ad7b89031d274b /kernel/time.c | |
parent | 53b2bb3a417606953584527b9fbf3feafad376c4 (diff) | |
download | linux-f024d9a0854cb3f2d09603d1ed3a52f04778330d.tar.bz2 |
ASoC: soc-io: Add CONFIG_REGMAP_I2C/CONFIG_REGMAP_SPI guards for regmap_init_i2c/regmap_init_spi
In the case of "make da8xx_omapl_defconfig;make", the SPI support is disabled.
Thus calling regmap_init_spi in soc-io.c has below build error.
ERROR: "regmap_init_spi" [sound/soc/snd-soc-core.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
This patch fixes the build error by adding CONFIG_REGMAP_I2C/CONFIG_REGMAP_SPI
guards for regmap_init_i2c/regmap_init_spi.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'kernel/time.c')
0 files changed, 0 insertions, 0 deletions