All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] mtd: denali: hide core part from user in Kconfig
@ 2015-08-06 13:04 Andy Shevchenko
  2015-08-06 13:04 ` [PATCH 2/4] mtd: denali_pci: use module_pci_driver() macro Andy Shevchenko
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Andy Shevchenko @ 2015-08-06 13:04 UTC (permalink / raw)
  To: linux-mtd, David Woodhouse; +Cc: Andy Shevchenko

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

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/mtd/nand/Kconfig | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index 5b2806a..3324281 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -42,23 +42,20 @@ config MTD_SM_COMMON
 	default n
 
 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
         tristate "Support Denali NAND controller on Intel Moorestown"
-	depends on PCI && MTD_NAND_DENALI
+	select MTD_NAND_DENALI
+	depends on HAS_DMA && PCI
         help
           Enable the driver for NAND flash on Intel Moorestown, using the
           Denali NAND controller core.
 
 config MTD_NAND_DENALI_DT
 	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
 	  Enable the driver for NAND flash on platforms using a Denali NAND
 	  controller as a DT device.
-- 
2.4.6

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-08-19  0:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-06 13:04 [PATCH 1/4] mtd: denali: hide core part from user in Kconfig Andy Shevchenko
2015-08-06 13:04 ` [PATCH 2/4] mtd: denali_pci: use module_pci_driver() macro Andy Shevchenko
2015-08-06 13:04 ` [PATCH 3/4] mtd: denali_pci: refactor driver using devres API Andy Shevchenko
2015-08-06 13:04 ` [PATCH 4/4] mtd: denali_pci: switch to dev_err() Andy Shevchenko
2015-08-19  0:27 ` [PATCH 1/4] mtd: denali: hide core part from user in Kconfig Brian Norris

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.