Skip to content

Commit

Permalink
drivers/of: include export.h for EXPORT_SYMBOL_GPL/THIS_MODULE as req…
Browse files Browse the repository at this point in the history
…uired

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>
  • Loading branch information
Paul Gortmaker committed Oct 31, 2011
1 parent 48a9e41 commit 2c8d667
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions drivers/of/of_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions drivers/of/of_pci_irq.c
Original file line number Diff line number Diff line change
@@ -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>

/**
Expand Down

0 comments on commit 2c8d667

Please sign in to comment.