diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-04-18 16:44:11 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2008-04-22 07:35:34 -0400 |
commit | 7903cbabcb90a7d485e67062400481c321090a4f (patch) | |
tree | bb87a30df5e2cb3cbe0ad2cb78680cc2bd23d983 | |
parent | 41bdf96006132db8ca6ad40d0189454fe620993a (diff) |
[MTD] mtdoops.c: make struct oops_cxt static again
struct oops_cxt needlessly became global.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
-rw-r--r-- | drivers/mtd/mtdoops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdoops.c b/drivers/mtd/mtdoops.c index d3cf05012b46..5a680e1e61f1 100644 --- a/drivers/mtd/mtdoops.c +++ b/drivers/mtd/mtdoops.c | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | #define OOPS_PAGE_SIZE 4096 | 36 | #define OOPS_PAGE_SIZE 4096 |
37 | 37 | ||
38 | struct mtdoops_context { | 38 | static struct mtdoops_context { |
39 | int mtd_index; | 39 | int mtd_index; |
40 | struct work_struct work_erase; | 40 | struct work_struct work_erase; |
41 | struct work_struct work_write; | 41 | struct work_struct work_write; |