diff options
author | Andreas Bießmann <biessmann@corscience.de> | 2010-08-05 06:38:41 -0400 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2010-08-06 04:22:22 -0400 |
commit | 9a9745c363277cc4e3a1d3e77b4814fbc2685a73 (patch) | |
tree | b15c55b2c3be98ed0ad65b4c16bddc6e3e560351 /drivers/mtd/nand/atmel_nand.c | |
parent | 8ae664184c45def51ff0b61d4bd6c6671db6cb4f (diff) |
mtd: atmel_nand: fix warning: 'part_probes' defined but not used
This patch fixes
drivers/mtd/nand/atmel_nand.c:372: warning: 'part_probes' defined but not used
which is issued when CONFIG_MTD_PARTITIONS is defined but
CONFIG_MTD_CMDLINE_PARTS not.
Signed-off-by: Andreas Bießmann <biessmann@corscience.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/nand/atmel_nand.c')
-rw-r--r-- | drivers/mtd/nand/atmel_nand.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 04d30887ca7f..ccce0f03b5dc 100644 --- a/drivers/mtd/nand/atmel_nand.c +++ b/drivers/mtd/nand/atmel_nand.c | |||
@@ -364,7 +364,7 @@ static void atmel_nand_hwctl(struct mtd_info *mtd, int mode) | |||
364 | } | 364 | } |
365 | } | 365 | } |
366 | 366 | ||
367 | #ifdef CONFIG_MTD_PARTITIONS | 367 | #ifdef CONFIG_MTD_CMDLINE_PARTS |
368 | static const char *part_probes[] = { "cmdlinepart", NULL }; | 368 | static const char *part_probes[] = { "cmdlinepart", NULL }; |
369 | #endif | 369 | #endif |
370 | 370 | ||