summaryrefslogtreecommitdiffstats
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
parent827509e38e5a4a5ba65a745ec7b4b0278656d1ca (diff)
downloadop-kernel-dev-9623932cd5815e280cef5ebb54b5ee92bec382ad.zip
op-kernel-dev-9623932cd5815e280cef5ebb54b5ee92bec382ad.tar.gz
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>
-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 6335979..e9309778 100644
--- a/drivers/w1/w1_family.c
+++ b/drivers/w1/w1_family.c
@@ -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"
diff --git a/drivers/w1/w1_int.c b/drivers/w1/w1_int.c
index d220bce..aa3971c 100644
--- a/drivers/w1/w1_int.c
+++ b/drivers/w1/w1_int.c
@@ -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"
OpenPOWER on IntegriCloud