Browse Source

mtd: denali: hide core part from user in Kconfig

There is no need to user to see the core part of the driver.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Andy Shevchenko 10 years ago
parent
commit
04868a67ed
1 changed files with 5 additions and 8 deletions
  1. 5 8
      drivers/mtd/nand/Kconfig

+ 5 - 8
drivers/mtd/nand/Kconfig

@@ -42,23 +42,20 @@ config MTD_SM_COMMON
 	default n
 	default n
 
 
 config MTD_NAND_DENALI
 config MTD_NAND_DENALI
-        tristate "Support Denali NAND controller"
-        depends on HAS_DMA
-        help
-	  Enable support for the Denali NAND controller.  This should be
-	  combined with either the PCI or platform drivers to provide device
-	  registration.
+	tristate
 
 
 config MTD_NAND_DENALI_PCI
 config MTD_NAND_DENALI_PCI
         tristate "Support Denali NAND controller on Intel Moorestown"
         tristate "Support Denali NAND controller on Intel Moorestown"
-	depends on PCI && MTD_NAND_DENALI
+	select MTD_NAND_DENALI
+	depends on HAS_DMA && PCI
         help
         help
           Enable the driver for NAND flash on Intel Moorestown, using the
           Enable the driver for NAND flash on Intel Moorestown, using the
           Denali NAND controller core.
           Denali NAND controller core.
 
 
 config MTD_NAND_DENALI_DT
 config MTD_NAND_DENALI_DT
 	tristate "Support Denali NAND controller as a DT device"
 	tristate "Support Denali NAND controller as a DT device"
-	depends on HAVE_CLK && MTD_NAND_DENALI
+	select MTD_NAND_DENALI
+	depends on HAS_DMA && HAVE_CLK
 	help
 	help
 	  Enable the driver for NAND flash on platforms using a Denali NAND
 	  Enable the driver for NAND flash on platforms using a Denali NAND
 	  controller as a DT device.
 	  controller as a DT device.