drivers/w1: Add export.h for EXPORT_SYMBOL/THIS_MODULE
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sun, 10 Jul 2011 17:21:52 +0000 (13:21 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:32:00 +0000 (19:32 -0400)
Give these files export.h so that they can reliably get the EXPORT_SYMBOL
and THIS_MODULE macros in the future, once module.h isn't implicitly
everywhere.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/w1/w1_family.c
drivers/w1/w1_int.c

index 63359797c8b199abcf62d09122f37981bca7cc41..e9309778ee72c84e72581b5e3ae54c88816cbb64 100644 (file)
@@ -23,6 +23,7 @@
 #include <linux/list.h>
 #include <linux/sched.h>       /* schedule_timeout() */
 #include <linux/delay.h>
+#include <linux/export.h>
 
 #include "w1_family.h"
 #include "w1.h"
index d220bce2cee4d242532cb4d6b84114b0e45ea662..aa3971ce02b022c75f944edeb70ba6f31cb45adb 100644 (file)
@@ -24,6 +24,7 @@
 #include <linux/delay.h>
 #include <linux/kthread.h>
 #include <linux/slab.h>
+#include <linux/export.h>
 
 #include "w1.h"
 #include "w1_log.h"