Re: full list of unused CONFIGs under drivers/

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Haavard Skinnemoen
Date: Tuesday, August 5, 2008 - 6:26 am

"Robert P. J. Day" <rpjday@crashcourse.ca> wrote:

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)
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
full list of unused CONFIGs under drivers/, Robert P. J. Day, (Sun Aug 3, 2:38 pm)
Re: full list of unused CONFIGs under drivers/, Kumar Gala, (Mon Aug 4, 6:26 am)
Re: full list of unused CONFIGs under drivers/, Haavard Skinnemoen, (Tue Aug 5, 6:26 am)
Re: full list of unused CONFIGs under drivers/, Robert P. J. Day, (Tue Aug 5, 6:28 am)