From ee27aa901805dfc9c3a5eb5f0948eba9ab481ba1 Mon Sep 17 00:00:00 2001
From: Philipp Zabel
Date: Thu, 24 Jul 2014 16:50:03 -0300
Subject: [PATCH] [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
Reported-by: Olof's autobuilder
Reported-by: kbuild test robot
Signed-off-by: Philipp Zabel
Signed-off-by: Mauro Carvalho Chehab
---
Reading git-format-patch failed