aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-18 13:44:11 -0700
committerDavid Woodhouse <dwmw2@infradead.org>2008-04-22 12:35:34 +0100
commit7903cbabcb90a7d485e67062400481c321090a4f (patch)
treebb87a30df5e2cb3cbe0ad2cb78680cc2bd23d983
parent41bdf96006132db8ca6ad40d0189454fe620993a (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdoops.c b/drivers/mtd/mtdoops.c
index d3cf05012b4..5a680e1e61f 100644
--- a/drivers/mtd/mtdoops.c
+++ b/drivers/mtd/mtdoops.c
@@ -35,7 +35,7 @@
#define OOPS_PAGE_SIZE 4096
-struct mtdoops_context {
+static struct mtdoops_context {
int mtd_index;
struct work_struct work_erase;
struct work_struct work_write;