diff options
author | Philipp Zabel <p.zabel@pengutronix.de> | 2014-07-24 21:50:03 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-01 20:27:14 +0200 |
commit | ee27aa901805dfc9c3a5eb5f0948eba9ab481ba1 (patch) | |
tree | 917e69e5692605dd0735216569378c2f1f9c8c4c /drivers/atm | |
parent | [media] radio-miropcm20: fix sparse NULL pointer warning (diff) | |
download | linux-ee27aa901805dfc9c3a5eb5f0948eba9ab481ba1.tar.xz linux-ee27aa901805dfc9c3a5eb5f0948eba9ab481ba1.zip |
[media] coda: fix build error by making reset control optional
make reset control optional for i.MX27
The patch "[media] coda: add reset control support" introduced a build failure
if CONFIG_RESET_CONTROLLER is disabled:
drivers/media/platform/coda.c:3734:2: error: implicit declaration of
function 'devm_reset_control_get'
Since not all SoCs containing CODA VPUs do have a system reset controller,
use devm_reset_control_get_optional to make it optional.
Reported-by: Shawn Guo <shawn.guo@linaro.org>
Reported-by: Olof's autobuilder <build@lixom.net>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/atm')
0 files changed, 0 insertions, 0 deletions