浏览代码

kconfig: kill off GENERIC_IO option

The GENERIC_IO option is set for every architecture except tile and score
as those define NO_IOMEM. The option only controls visibility of
CONFIG_MTD which doesn't appear to be necessary for any reason, so let's
just remove GENERIC_IO.

Signed-off-by: Rob Herring <robh@kernel.org>
Cc: Jeff Dike <jdike@addtoit.com>
Cc: Richard Weinberger <richard@nod.at>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Brian Norris <computersforpeace@gmail.com>
Cc: Boris Brezillon <boris.brezillon@free-electrons.com>
Cc: Marek Vasut <marek.vasut@gmail.com>
Cc: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Cc: user-mode-linux-devel@lists.sourceforge.net
Cc: user-mode-linux-user@lists.sourceforge.net
Cc: linux-mtd@lists.infradead.org
Acked-by: Richard Weinberger <richard@nod.at>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Rob Herring 7 年之前
父节点
当前提交
9de8da4774
共有 3 个文件被更改,包括 0 次插入6 次删除
  1. 0 1
      arch/um/Kconfig.common
  2. 0 1
      drivers/mtd/Kconfig
  3. 0 4
      lib/Kconfig

+ 0 - 1
arch/um/Kconfig.common

@@ -9,7 +9,6 @@ config UML
 	select HAVE_DEBUG_KMEMLEAK
 	select HAVE_DEBUG_KMEMLEAK
 	select GENERIC_IRQ_SHOW
 	select GENERIC_IRQ_SHOW
 	select GENERIC_CPU_DEVICES
 	select GENERIC_CPU_DEVICES
-	select GENERIC_IO
 	select GENERIC_CLOCKEVENTS
 	select GENERIC_CLOCKEVENTS
 	select HAVE_GCC_PLUGINS
 	select HAVE_GCC_PLUGINS
 	select TTY # Needed for line.c
 	select TTY # Needed for line.c

+ 0 - 1
drivers/mtd/Kconfig

@@ -1,6 +1,5 @@
 menuconfig MTD
 menuconfig MTD
 	tristate "Memory Technology Device (MTD) support"
 	tristate "Memory Technology Device (MTD) support"
-	depends on GENERIC_IO
 	help
 	help
 	  Memory Technology Devices are flash, RAM and similar chips, often
 	  Memory Technology Devices are flash, RAM and similar chips, often
 	  used for solid state file systems on embedded devices. This option
 	  used for solid state file systems on embedded devices. This option

+ 0 - 4
lib/Kconfig

@@ -46,10 +46,6 @@ config GENERIC_IOMAP
 	bool
 	bool
 	select GENERIC_PCI_IOMAP
 	select GENERIC_PCI_IOMAP
 
 
-config GENERIC_IO
-	bool
-	default n
-
 config STMP_DEVICE
 config STMP_DEVICE
 	bool
 	bool