summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-11 18:58:31 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-11 19:19:08 -0300
commit53cc7c9043f0a68a66e53623b114c86051a7250c (patch)
tree30d24afcba54154352f78aee48cb5cc058b3d3ce /drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c
parent2696f495bdc046d84da6c909a1e7f535138a2a62 (diff)
downloadlinux-stable-53cc7c9043f0a68a66e53623b114c86051a7250c.tar.gz
linux-stable-53cc7c9043f0a68a66e53623b114c86051a7250c.tar.bz2
linux-stable-53cc7c9043f0a68a66e53623b114c86051a7250c.zip
[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>
Diffstat (limited to 'drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c')
-rw-r--r--drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c b/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c
index 955d8daf055f..1586a1e6836d 100644
--- a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c
+++ b/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c
@@ -33,6 +33,7 @@
#include <linux/time.h>
#include <linux/version.h>
#include <linux/wait.h>
+#include <linux/pinctrl/pinctrl.h>
#include "c8sectpfe-core.h"
#include "c8sectpfe-common.h"