]> Pileus Git - ~andy/linux/commitdiff
[MTD] mtdoops.c: make struct oops_cxt static again
authorAdrian Bunk <bunk@kernel.org>
Fri, 18 Apr 2008 20:44:11 +0000 (13:44 -0700)
committerDavid Woodhouse <dwmw2@infradead.org>
Tue, 22 Apr 2008 11:35:34 +0000 (12:35 +0100)
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>
drivers/mtd/mtdoops.c

index d3cf05012b46a0a9df82888cb39ccd1bfd07f642..5a680e1e61f14dbc2ba684482792f2f40aabbee9 100644 (file)
@@ -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;