drivers/w1: Add export.h for EXPORT_SYMBOL/THIS_MODULE
Paul Gortmaker [Sun, 10 Jul 2011 17:21:52 +0000 (13:21 -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 6335979..e930977 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 d220bce..aa3971c 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"