[MTD] mtdoops.c: make struct oops_cxt static again
Adrian Bunk [Fri, 18 Apr 2008 20:44:11 +0000 (13:44 -0700)]
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 d3cf050..5a680e1 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;