V4L/DVB (13740): [Mantis] Schedule the work instead of handling the task directly
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
diff --git a/drivers/media/dvb/mantis/mantis_link.h b/drivers/media/dvb/mantis/mantis_link.h
index a45dd71..33b39b7 100644
--- a/drivers/media/dvb/mantis/mantis_link.h
+++ b/drivers/media/dvb/mantis/mantis_link.h
@@ -21,6 +21,8 @@
#ifndef __MANTIS_LINK_H
#define __MANTIS_LINK_H
+#include <linux/workqueue.h>
+
enum mantis_sbuf_status {
MANTIS_SBUF_DATA_AVAIL = 1,
MANTIS_SBUF_DATA_EMPTY = 2,
@@ -40,7 +42,7 @@
struct mantis_ca {
struct mantis_slot slot;
- struct tasklet_struct hif_evm_tasklet;
+ struct work_struct hif_evm_work;
u32 hif_event;
wait_queue_head_t hif_opdone_wq;