From: Srinivas Kandagatla Date: Mon, 22 Sep 2014 22:22:26 +0000 (-0300) Subject: [media] media: st-rc: move to using reset_control_get_optional X-Git-Tag: fixes-against-v3.18-rc2~130^2^2~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89d7ce5a0f159ffa99d0521b4336b922acdc7ac5;p=pandora-kernel.git [media] media: st-rc: move to using reset_control_get_optional This patch fixes a compilation error while building with the random kernel configuration. drivers/media/rc/st_rc.c: In function 'st_rc_probe': drivers/media/rc/st_rc.c:281:2: error: implicit declaration of function 'reset_control_get' [-Werror=implicit-function-declaration] rc_dev->rstc = reset_control_get(dev, NULL); drivers/media/rc/st_rc.c:281:15: warning: assignment makes pointer from integer without a cast [enabled by default] rc_dev->rstc = reset_control_get(dev, NULL); Reported-by: Jim Davis Signed-off-by: Srinivas Kandagatla Acked-by: Maxime Coquelin Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed