mtd: gpmi: fix compiler warning

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Mar 26 20:59:10 EDT 2012


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=492b8bde2c2badd3e5845f2e8de6fa9065438743
Commit:     492b8bde2c2badd3e5845f2e8de6fa9065438743
Parent:     3410a711a52bdb5eac1395fc6734a3ef801f903b
Author:     Huang Shijie <b32955 at freescale.com>
AuthorDate: Tue Feb 14 11:22:04 2012 +0800
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Tue Mar 27 00:35:31 2012 +0100

    mtd: gpmi: fix compiler warning
    
    The gpmi driver selects the MTD_CMDLINE_PARTS directly.
    But we should not select a visible symbol.
    
    Just remove the select.
    
    Signed-off-by: Huang Shijie <b32955 at freescale.com>
    Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/nand/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 59d4363..0ea7084 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -440,7 +440,6 @@ config MTD_NAND_NANDSIM
 config MTD_NAND_GPMI_NAND
         bool "GPMI NAND Flash Controller driver"
         depends on MTD_NAND && (SOC_IMX23 || SOC_IMX28)
-	select MTD_CMDLINE_PARTS
         help
 	 Enables NAND Flash support for IMX23 or IMX28.
 	 The GPMI controller is very powerful, with the help of BCH



More information about the linux-mtd-cvs mailing list