Browse Source

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>
Paul Gortmaker 14 years ago
parent
commit
9623932cd5
2 changed files with 2 additions and 0 deletions
  1. 1 0
      drivers/w1/w1_family.c
  2. 1 0
      drivers/w1/w1_int.c

+ 1 - 0
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"

+ 1 - 0
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"