Commit 53cc7c90 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[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: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 2696f495
config DVB_C8SECTPFE config DVB_C8SECTPFE
tristate "STMicroelectronics C8SECTPFE DVB support" tristate "STMicroelectronics C8SECTPFE DVB support"
depends on DVB_CORE && I2C && (ARCH_STI || ARCH_MULTIPLATFORM || COMPILE_TEST) depends on PINCTRL && DVB_CORE && I2C
depends on ARCH_STI || ARCH_MULTIPLATFORM || COMPILE_TEST
select LIBELF_32 select LIBELF_32
select FW_LOADER select FW_LOADER
select FW_LOADER_USER_HELPER_FALLBACK select FW_LOADER_USER_HELPER_FALLBACK
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include <linux/time.h> #include <linux/time.h>
#include <linux/version.h> #include <linux/version.h>
#include <linux/wait.h> #include <linux/wait.h>
#include <linux/pinctrl/pinctrl.h>
#include "c8sectpfe-core.h" #include "c8sectpfe-core.h"
#include "c8sectpfe-common.h" #include "c8sectpfe-common.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment