diff options
author | Philipp Zabel <[email protected]> | 2014-07-24 16:50:03 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2014-08-01 15:27:14 -0300 |
commit | ee27aa901805dfc9c3a5eb5f0948eba9ab481ba1 (patch) | |
tree | 917e69e5692605dd0735216569378c2f1f9c8c4c /drivers/scsi/mpt2sas/mpi/mpi2_init.h | |
parent | 27dcb00d0dc1d532b0da940e35a6d020ee33bd47 (diff) |
[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 <[email protected]>
Reported-by: Olof's autobuilder <[email protected]>
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Philipp Zabel <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_init.h')
0 files changed, 0 insertions, 0 deletions