Skip to content

Commit

Permalink
[MTD] mtdoops.c: make struct oops_cxt static again
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and David Woodhouse committed Apr 22, 2008
1 parent 41bdf96 commit 7903cba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/mtdoops.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7903cba

Please sign in to comment.