Commit
f3bcc0179ab8145615a3b409d652cad1395fb7f3
Exists in
master
and in
20 other branches
dlt-processor-sdk-linux-03.00.00.04, newt-ti-linux-3.12.y, processor-sdk-linux-01.00.00, processor-sdk-linux-02.00.01, smarc-ti-linux-3.12.10, smarc-ti-linux-3.12.y, smarc-ti-linux-3.14.y, smarc-ti-linux-3.15.y, smarc-ti-lsk-linux-4.1.y, smarct3x-processor-sdk-04.01.00.06, smarct3x-processor-sdk-linux-02.00.01, smarct3x-processor-sdk-linux-03.00.00.04, smarct4x-800-processor-sdk-linux-02.00.01, smarct4x-processor-sdk-04.01.00.06, smarct4x-processor-sdk-linux-02.00.01, smarct4x-processor-sdk-linux-03.00.00.04, ti-linux-3.12.y, ti-linux-3.14.y, ti-linux-3.15.y, ti-lsk-linux-4.1.y
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>
Showing
4 changed files
with
4 additions
and
0 deletions
Side-by-side Diff
... |
... |
@@ -14,6 +14,7 @@ |
14
|
14 |
|
15
|
15 |
#include <linux/mtd/super.h> |
16
|
16 |
#include <linux/namei.h> |
|
17 |
+#include <linux/export.h> |
17
|
18 |
#include <linux/ctype.h> |
18
|
19 |
#include <linux/slab.h> |
19
|
20 |
|
... |
... |
@@ -67,6 +67,7 @@ |
67
|
67 |
#include <linux/bitops.h> |
68
|
68 |
#include <linux/delay.h> |
69
|
69 |
#include <linux/vmalloc.h> |
|
70 |
+#include <linux/export.h> |
70
|
71 |
|
71
|
72 |
static int check_pattern_no_oob(uint8_t *buf, struct nand_bbt_descr *td) |
72
|
73 |
{ |
... |
... |
@@ -15,6 +15,7 @@ |
15
|
15 |
#include <linux/slab.h> |
16
|
16 |
#include <linux/mtd/mtd.h> |
17
|
17 |
#include <linux/mtd/onenand.h> |
|
18 |
+#include <linux/export.h> |
18
|
19 |
|
19
|
20 |
/** |
20
|
21 |
* check_short_pattern - [GENERIC] check if a pattern is in the buffer |
... |
... |
@@ -26,6 +26,7 @@ |
26
|
26 |
#include <linux/err.h> |
27
|
27 |
#include <linux/math64.h> |
28
|
28 |
#include <linux/slab.h> |
|
29 |
+#include <linux/export.h> |
29
|
30 |
#include "ubi.h" |
30
|
31 |
|
31
|
32 |
#ifdef CONFIG_MTD_UBI_DEBUG |