[PATCH RT 2/2] work-simple: Add missing #include <linux/export.h>

From: Ben Hutchings
Date: Fri Sep 30 2016 - 05:05:12 EST


work-simple.c uses EXPORT_SYMBOL_GPL(), defined in <linux/export.h>.

Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
Cc: stable-rt@xxxxxxxxxxxxxxx # 3.2
---
I'm not sure there's any need for these exports so the correct fix
might be to remove them.

Ben.

kernel/work-simple.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/kernel/work-simple.c b/kernel/work-simple.c
index c996f755dba6..e57a0522573f 100644
--- a/kernel/work-simple.c
+++ b/kernel/work-simple.c
@@ -10,6 +10,7 @@
#include <linux/kthread.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
+#include <linux/export.h>

#define SWORK_EVENT_PENDING (1 << 0)

Attachment: signature.asc
Description: Digital signature