]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: s6105-ipcam: Fix build for I2C dependencies
authorMark Brown <broonie@linaro.org>
Sat, 5 Jul 2014 16:54:24 +0000 (17:54 +0100)
committerMark Brown <broonie@linaro.org>
Sat, 5 Jul 2014 17:00:34 +0000 (18:00 +0100)
commit1bb60b3a5ae526287fc6d0c55391f5664cc1e672
tree97cfd3d9438846741cbcfa5a6a6ff2a9f130fb5a
parent13447cdc76a8c0a57c9b3395d896b01feb82f34b
ASoC: s6105-ipcam: Fix build for I2C dependencies

The s6105-ipcam driver calls i2c_register_board_info() which means that
not only does it need I2C to be enabled to be built but since that
symbol is not exported it means that the driver also can't be linked as
a module.  Use a bool instead of a tristate and add a dependency on I2C
to fix these issues.

Commit b5dd60fd263 (ASoC: s6000: Allow to build when COMPILE_TEST is
enabled) made this problem more visible since it enabled build of the
driver on more common architectures but this has always been an issue.

Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/s6000/Kconfig