summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/mtdoops.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-04-18 22:44:11 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2008-04-22 13:35:34 +0200
commit7903cbabcb90a7d485e67062400481c321090a4f (patch)
treebb87a30df5e2cb3cbe0ad2cb78680cc2bd23d983 /drivers/mtd/mtdoops.c
parent[MTD] [MAPS] Document MTD_PHYSMAP module name in kconfig (diff)
downloadlinux-7903cbabcb90a7d485e67062400481c321090a4f.tar.xz
linux-7903cbabcb90a7d485e67062400481c321090a4f.zip
[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>
Diffstat (limited to 'drivers/mtd/mtdoops.c')
-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 d3cf05012b46..5a680e1e61f1 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;