]> git.baikalelectronics.ru Git - kernel.git/commit
[media] c8sectpfe: fix pinctrl dependencies
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 21:58:31 +0000 (18:58 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 22:19:08 +0000 (19:19 -0300)
commit2b92962ac3c5eb6b13f9485fcca62c9b595bcf7e
tree30d24afcba54154352f78aee48cb5cc058b3d3ce
parent5cd96fae42fff8b79835b73a9c7eb65d72a65700
[media] c8sectpfe: fix pinctrl dependencies

compiling on some archs fail with:

drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c:540:8: error: implicit declaration of function ‘pinctrl_select_state’ [-Werror=implicit-function-declaration]
  ret = pinctrl_select_state(fei->pinctrl, tsin->pstate);

That's due the need of including pinctrl.h header and because
CONFIG_PINCTRL needs to be true.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/sti/c8sectpfe/Kconfig
drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c