[MTD] mtdoops.c: make struct oops_cxt static again
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Tue Apr 22 07:59:02 EDT 2008
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=7903cbabcb90a7d485e67062400481c321090a4f
Commit: 7903cbabcb90a7d485e67062400481c321090a4f
Parent: 41bdf96006132db8ca6ad40d0189454fe620993a
Author: Adrian Bunk <bunk at kernel.org>
AuthorDate: Fri Apr 18 13:44:11 2008 -0700
Committer: David Woodhouse <dwmw2 at infradead.org>
CommitDate: Tue Apr 22 12:35:34 2008 +0100
[MTD] mtdoops.c: make struct oops_cxt static again
struct oops_cxt needlessly became global.
Signed-off-by: Adrian Bunk <bunk at kernel.org>
Signed-off-by: Andrew Morton <akpm at linux-foundation.org>
Signed-off-by: David Woodhouse <dwmw2 at infradead.org>
---
drivers/mtd/mtdoops.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/mtdoops.c b/drivers/mtd/mtdoops.c
index d3cf050..5a680e1 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;
More information about the linux-mtd-cvs
mailing list