diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2009-12-04 05:09:04 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-01-17 11:55:34 -0200 |
commit | 12855cac87218d0c92ffdebb7270cec040cf5a6a (patch) | |
tree | 81a6b9599c17e3f87dcbe3fa4a2296b5593a00fb /drivers/media/dvb/mantis/mantis_link.h | |
parent | 3062b1571a1d3520c4d3160ebbfca8002b1d6963 (diff) |
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>
Diffstat (limited to 'drivers/media/dvb/mantis/mantis_link.h')
-rw-r--r-- | drivers/media/dvb/mantis/mantis_link.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/dvb/mantis/mantis_link.h b/drivers/media/dvb/mantis/mantis_link.h index a45dd7185e0..33b39b781d2 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 @@ enum mantis_slot_state { 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; |