drivers/of: include export.h for EXPORT_SYMBOL_GPL/THIS_MODULE as required
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 29 Jul 2011 06:05:38 +0000 (16:05 +1000)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Mon, 31 Oct 2011 23:31:56 +0000 (19:31 -0400)
For files that were getting these macros via the implicit presence
of module.h being everywhere.

With contributions from Stephen Rothwell <sfr@canb.auug.org.au>.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/of/of_net.c
drivers/of/of_pci_irq.c

index bb184717588fe019e7bf039bfb73e651c5960ec6..ffab033d207e199113e4772e345c7968fc027744 100644 (file)
@@ -9,6 +9,7 @@
 #include <linux/kernel.h>
 #include <linux/of_net.h>
 #include <linux/phy.h>
+#include <linux/export.h>
 
 /**
  * It maps 'enum phy_interface_t' found in include/linux/phy.h
index ac1ec54e4fd50eea60d123004fe735636518722c..93125163dea21fc16bcf2dd0243c7426cd351708 100644 (file)
@@ -1,6 +1,7 @@
 #include <linux/kernel.h>
 #include <linux/of_pci.h>
 #include <linux/of_irq.h>
+#include <linux/export.h>
 #include <asm/prom.h>
 
 /**