summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-06-12 06:05:36 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2019-06-12 10:45:30 -0400
commit3510c68d32bf3a188c077b5fb87339379f4e6b43 (patch)
treefbec186e335bd1d96206040909787288187dbaab /drivers/staging
parent1296987d2baf7f56748359b8dd42c425b9e7ee3a (diff)
media: meson: vdec: Add missing kthread.h
Fix building error: of function kthread_should_stop; did you mean thread_saved_sp? [-Werror=implicit-function-declaration] Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: YueHaibing <yuehaibing@huawei.com> Acked-by: Maxime Jourdan <mjourdan@baylibre.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/media/meson/vdec/vdec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/media/meson/vdec/vdec.c b/drivers/staging/media/meson/vdec/vdec.c
index 4e4f9d614e41..0a1a04fd5d13 100644
--- a/drivers/staging/media/meson/vdec/vdec.c
+++ b/drivers/staging/media/meson/vdec/vdec.c
@@ -12,6 +12,7 @@
#include <linux/mfd/syscon.h>
#include <linux/slab.h>
#include <linux/interrupt.h>
+#include <linux/kthread.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-event.h>
#include <media/v4l2-ctrls.h>