Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drivers/of: include export.h for EXPORT_SYMBOL_GPL/THIS_MODULE as required

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>

+2
+1
drivers/of/of_net.c
··· 9 9 #include <linux/kernel.h> 10 10 #include <linux/of_net.h> 11 11 #include <linux/phy.h> 12 + #include <linux/export.h> 12 13 13 14 /** 14 15 * It maps 'enum phy_interface_t' found in include/linux/phy.h
+1
drivers/of/of_pci_irq.c
··· 1 1 #include <linux/kernel.h> 2 2 #include <linux/of_pci.h> 3 3 #include <linux/of_irq.h> 4 + #include <linux/export.h> 4 5 #include <asm/prom.h> 5 6 6 7 /**