diff options
author | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-08-09 15:05:22 (GMT) |
---|---|---|
committer | Paul Gortmaker <paul.gortmaker@windriver.com> | 2011-10-31 23:31:01 (GMT) |
commit | 8dc7a9c84fbeb8825d19c18e9d8c6fce416c473f (patch) | |
tree | 1ecfcd5318a1772824c307363f10b644c0126dc4 /arch/blackfin/kernel | |
parent | 6caddf0a7476a1595b7ff83aabd510a87d934095 (diff) | |
download | linux-fsl-qoriq-8dc7a9c84fbeb8825d19c18e9d8c6fce416c473f.tar.xz |
blackfin: Add export.h to files using EXPORT_SYMBOL/THIS_MODULE
These particular files were just assuming that module.h was
somehow in the include paths. Give them the more minimalist
header file explicitly.
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'arch/blackfin/kernel')
-rw-r--r-- | arch/blackfin/kernel/dma-mapping.c | 1 | ||||
-rw-r--r-- | arch/blackfin/kernel/perf_event.c | 1 | ||||
-rw-r--r-- | arch/blackfin/kernel/sys_bfin.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/blackfin/kernel/dma-mapping.c b/arch/blackfin/kernel/dma-mapping.c index 04ddcfe..f0d1118 100644 --- a/arch/blackfin/kernel/dma-mapping.c +++ b/arch/blackfin/kernel/dma-mapping.c @@ -12,6 +12,7 @@ #include <linux/spinlock.h> #include <linux/dma-mapping.h> #include <linux/scatterlist.h> +#include <linux/export.h> static spinlock_t dma_page_lock; static unsigned long *dma_page; diff --git a/arch/blackfin/kernel/perf_event.c b/arch/blackfin/kernel/perf_event.c index 04300f2..e47d19a 100644 --- a/arch/blackfin/kernel/perf_event.c +++ b/arch/blackfin/kernel/perf_event.c @@ -24,6 +24,7 @@ */ #include <linux/kernel.h> +#include <linux/export.h> #include <linux/init.h> #include <linux/perf_event.h> #include <asm/bfin_pfmon.h> diff --git a/arch/blackfin/kernel/sys_bfin.c b/arch/blackfin/kernel/sys_bfin.c index 89448ed..d998383 100644 --- a/arch/blackfin/kernel/sys_bfin.c +++ b/arch/blackfin/kernel/sys_bfin.c @@ -41,6 +41,7 @@ asmlinkage void *sys_dma_memcpy(void *dest, const void *src, size_t len) #if defined(CONFIG_FB) || defined(CONFIG_FB_MODULE) #include <linux/fb.h> +#include <linux/export.h> unsigned long get_fb_unmapped_area(struct file *filp, unsigned long orig_addr, unsigned long len, unsigned long pgoff, unsigned long flags) { |