aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/w1
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-10 13:21:52 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:32:00 -0400
commit9623932cd5815e280cef5ebb54b5ee92bec382ad (patch)
tree3874488d5c722cff37585c7f0159890f83447249 /drivers/w1
parent827509e38e5a4a5ba65a745ec7b4b0278656d1ca (diff)
drivers/w1: Add export.h for EXPORT_SYMBOL/THIS_MODULE
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>
Diffstat (limited to 'drivers/w1')
-rw-r--r--drivers/w1/w1_family.c1
-rw-r--r--drivers/w1/w1_int.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/drivers/w1/w1_family.c b/drivers/w1/w1_family.c
index 63359797c8b1..e9309778ee72 100644
--- a/drivers/w1/w1_family.c
+++ b/drivers/w1/w1_family.c
@@ -23,6 +23,7 @@
23#include <linux/list.h> 23#include <linux/list.h>
24#include <linux/sched.h> /* schedule_timeout() */ 24#include <linux/sched.h> /* schedule_timeout() */
25#include <linux/delay.h> 25#include <linux/delay.h>
26#include <linux/export.h>
26 27
27#include "w1_family.h" 28#include "w1_family.h"
28#include "w1.h" 29#include "w1.h"
diff --git a/drivers/w1/w1_int.c b/drivers/w1/w1_int.c
index d220bce2cee4..aa3971ce02b0 100644
--- a/drivers/w1/w1_int.c
+++ b/drivers/w1/w1_int.c
@@ -24,6 +24,7 @@
24#include <linux/delay.h> 24#include <linux/delay.h>
25#include <linux/kthread.h> 25#include <linux/kthread.h>
26#include <linux/slab.h> 26#include <linux/slab.h>
27#include <linux/export.h>
27 28
28#include "w1.h" 29#include "w1.h"
29#include "w1_log.h" 30#include "w1_log.h"