Skip to content

Commit 2c8d667

Browse files
author
Paul Gortmaker
committed
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>
1 parent 48a9e41 commit 2c8d667

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

‎drivers/of/of_net.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <linux/kernel.h>
1010
#include <linux/of_net.h>
1111
#include <linux/phy.h>
12+
#include <linux/export.h>
1213

1314
/**
1415
* It maps 'enum phy_interface_t' found in include/linux/phy.h

‎drivers/of/of_pci_irq.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include <linux/kernel.h>
22
#include <linux/of_pci.h>
33
#include <linux/of_irq.h>
4+
#include <linux/export.h>
45
#include <asm/prom.h>
56

67
/**

0 commit comments

Comments
 (0)