summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-10 18:43:28 +0200
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-11-01 00:31:11 +0100
commitf3bcc0179ab8145615a3b409d652cad1395fb7f3 (patch)
treefdf8948971640356aee61cc23114cb4d78460cc7 /drivers/mtd/onenand
parentcrypto: add module.h to those files that are explicitly using it (diff)
downloadlinux-f3bcc0179ab8145615a3b409d652cad1395fb7f3.tar.xz
linux-f3bcc0179ab8145615a3b409d652cad1395fb7f3.zip
mtd: Add export.h for EXPORT_SYMBOL/THIS_MODULE where needed
These two common macros will be no longer present everywhere. Call out the include needs of them explicitly where required. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Diffstat (limited to 'drivers/mtd/onenand')
-rw-r--r--drivers/mtd/onenand/onenand_bbt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/onenand/onenand_bbt.c b/drivers/mtd/onenand/onenand_bbt.c
index fc2c16a0fd1c..b2d7fc5ea25d 100644
--- a/drivers/mtd/onenand/onenand_bbt.c
+++ b/drivers/mtd/onenand/onenand_bbt.c
@@ -15,6 +15,7 @@
#include <linux/slab.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/onenand.h>
+#include <linux/export.h>
/**
* check_short_pattern - [GENERIC] check if a pattern is in the buffer