Patchwork mtd/gpmi : fix compiler warning

login
register
mail settings
Submitter Huang Shijie
Date Feb. 14, 2012, 3:22 a.m.
Message ID <1329189724-26100-1-git-send-email-b32955@freescale.com>
Download mbox | patch
Permalink /patch/141041/
State Accepted
Commit 492b8bde2c2badd3e5845f2e8de6fa9065438743
Headers show

Comments

Huang Shijie - Feb. 14, 2012, 3:22 a.m.
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@freescale.com>
---
 drivers/mtd/nand/Kconfig |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
Bityutskiy, Artem - Feb. 29, 2012, 7:58 a.m.
On Tue, 2012-02-14 at 11:22 +0800, Huang Shijie wrote:
> 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@freescale.com>

Pushed to l2-mtd.git, thanks!

Patch

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 2474733..7612eae 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