Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761237AbYHEN00 (ORCPT ); Tue, 5 Aug 2008 09:26:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756339AbYHEN0T (ORCPT ); Tue, 5 Aug 2008 09:26:19 -0400 Received: from smtpeu1.atmel.com ([195.65.72.27]:34010 "EHLO bagnes.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755736AbYHEN0S (ORCPT ); Tue, 5 Aug 2008 09:26:18 -0400 Date: Tue, 5 Aug 2008 15:26:09 +0200 From: Haavard Skinnemoen To: "Robert P. J. Day" Cc: Linux Kernel Mailing List Subject: Re: full list of unused CONFIGs under drivers/ Message-ID: <20080805152609.1119f0b1@hskinnemo-gx745.norway.atmel.com> In-Reply-To: References: X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 05 Aug 2008 13:26:10.0755 (UTC) FILETIME=[D351F930:01C8F6FE] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1043 Lines: 32 "Robert P. J. Day" wrote: > ===== MTD_NAND_ATMEL_ECC_SOFT > drivers/mtd/nand/Kconfig:313:config MTD_NAND_ATMEL_ECC_SOFT It may be unreferenced, but it behaves as expected. It's part of a set of three mutually exclusive choices, so after checking for the two others, there's no point checking for the last one. Of course, we could apply the patch below ;-) Haavard diff --git a/drivers/mtd/nand/atmel_nand.c b/drivers/mtd/nand/atmel_nand.c index 3387e0d..d5775a9 100644 --- a/drivers/mtd/nand/atmel_nand.c +++ b/drivers/mtd/nand/atmel_nand.c @@ -47,6 +47,10 @@ #define no_ecc 0 #endif +#ifdef CONFIG_MTD_NAND_ATMEL_ECC_SOFT +/* Avoid incessant nagging */ +#endif + /* Register access macros */ #define ecc_readl(add, reg) \ __raw_readl(add + ATMEL_ECC_##reg) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/