From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932673AbWAMLsT (ORCPT ); Fri, 13 Jan 2006 06:48:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1161225AbWAMLsT (ORCPT ); Fri, 13 Jan 2006 06:48:19 -0500 Received: from mailout.stusta.mhn.de ([141.84.69.5]:26633 "HELO mailout.stusta.mhn.de") by vger.kernel.org with SMTP id S932711AbWAMLsS (ORCPT ); Fri, 13 Jan 2006 06:48:18 -0500 Date: Fri, 13 Jan 2006 12:48:17 +0100 From: Adrian Bunk To: dwmw2@infradead.org Cc: LKML , linux-mtd@lists.infradead.org Subject: [RFC: 2.6 patch] MTD_NAND_SHARPSL and MTD_NAND_NANDSIM should be tristate's Message-ID: <20060113114817.GG29663@stusta.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org MTD_NAND=m and MTD_NAND_SHARPSL=y or MTD_NAND_NANDSIM=y are illegal combinations that mustn't be allowed. This patch fixes this bug by making MTD_NAND_SHARPSL and MTD_NAND_NANDSIM tristate's. Additionally, it fixes some whitespace damage at these options. Signed-off-by: Adrian Bunk --- This patch was already sent on: - 31 Dec 2005 --- linux-git/drivers/mtd/nand/Kconfig.old 2005-12-31 12:20:12.000000000 +0100 +++ linux-git/drivers/mtd/nand/Kconfig 2005-12-31 12:21:35.000000000 +0100 @@ -178,17 +178,16 @@ Even if you leave this disabled, you can enable BBT writes at module load time (assuming you build diskonchip as a module) with the module parameter "inftl_bbt_write=1". - - config MTD_NAND_SHARPSL - bool "Support for NAND Flash on Sharp SL Series (C7xx + others)" - depends on MTD_NAND && ARCH_PXA - - config MTD_NAND_NANDSIM - bool "Support for NAND Flash Simulator" - depends on MTD_NAND && MTD_PARTITIONS +config MTD_NAND_SHARPSL + tristate "Support for NAND Flash on Sharp SL Series (C7xx + others)" + depends on MTD_NAND && ARCH_PXA + +config MTD_NAND_NANDSIM + tristate "Support for NAND Flash Simulator" + depends on MTD_NAND && MTD_PARTITIONS help The simulator may simulate verious NAND flash chips for the MTD nand layer. - + endmenu