From: "Manish Katiyar" <mkatiyar@gmail.com>
To: dwmw2@infradead.org, linux-mtd@lists.infradead.org
Cc: mkatiyar@gmail.com
Subject: [PATCH] mtd: Fix compilation warnings in drivers/mtd/nand/cs553x_nand.c
Date: Tue, 14 Oct 2008 23:43:29 +0530 [thread overview]
Message-ID: <ea11fea30810141113i81694depeb69c50a373fcf3e@mail.gmail.com> (raw)
Below patch fixes the following compilation warnings.
drivers/mtd/nand/cs553x_nand.c:293: warning: unused variable 'mtd_parts'
drivers/mtd/nand/cs553x_nand.c:292: warning: unused variable 'mtd_parts_nb'
Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
---
drivers/mtd/nand/cs553x_nand.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/nand/cs553x_nand.c b/drivers/mtd/nand/cs553x_nand.c
index 3370a80..9f1b451 100644
--- a/drivers/mtd/nand/cs553x_nand.c
+++ b/drivers/mtd/nand/cs553x_nand.c
@@ -289,8 +289,10 @@ static int __init cs553x_init(void)
int i;
uint64_t val;
+#ifdef CONFIG_MTD_PARTITIONS
int mtd_parts_nb = 0;
struct mtd_partition *mtd_parts = NULL;
+#endif
/* If the CPU isn't a Geode GX or LX, abort */
if (!is_geode())
--
1.5.4.3
Thanks -
Manish
next reply other threads:[~2008-10-14 18:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-14 18:13 Manish Katiyar [this message]
2008-10-15 13:39 ` [PATCH] mtd: Fix compilation warnings in drivers/mtd/nand/cs553x_nand.c Manish Katiyar
2008-10-19 12:32 ` Manish Katiyar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ea11fea30810141113i81694depeb69c50a373fcf3e@mail.gmail.com \
--to=mkatiyar@gmail.com \
--cc=dwmw2@infradead.org \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox