diff options
Diffstat (limited to 'include/linux/irq_work.h')
-rw-r--r-- | include/linux/irq_work.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/irq_work.h b/include/linux/irq_work.h index 66017028dcb3..19ae05d4b8ec 100644 --- a/include/linux/irq_work.h +++ b/include/linux/irq_work.h | |||
@@ -30,7 +30,9 @@ void init_irq_work(struct irq_work *work, void (*func)(struct irq_work *)) | |||
30 | work->func = func; | 30 | work->func = func; |
31 | } | 31 | } |
32 | 32 | ||
33 | void irq_work_queue(struct irq_work *work); | 33 | #define DEFINE_IRQ_WORK(name, _f) struct irq_work name = { .func = (_f), } |
34 | |||
35 | bool irq_work_queue(struct irq_work *work); | ||
34 | void irq_work_run(void); | 36 | void irq_work_run(void); |
35 | void irq_work_sync(struct irq_work *work); | 37 | void irq_work_sync(struct irq_work *work); |
36 | 38 | ||