kconfig: kill off GENERIC_IO option
authorRob Herring <robh@kernel.org>
Mon, 16 Oct 2017 22:16:31 +0000 (17:16 -0500)
committerRichard Weinberger <richard@nod.at>
Mon, 13 Nov 2017 20:39:15 +0000 (21:39 +0100)
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>
arch/um/Kconfig.common
drivers/mtd/Kconfig
lib/Kconfig

index 85f6dd204ab616a7fdd6bc080310bfc4967c1ef5..5514ec52108fdaac180377268f4c84bbd3835c39 100644 (file)
@@ -9,7 +9,6 @@ config UML
        select HAVE_DEBUG_KMEMLEAK
        select GENERIC_IRQ_SHOW
        select GENERIC_CPU_DEVICES
-       select GENERIC_IO
        select GENERIC_CLOCKEVENTS
        select HAVE_GCC_PLUGINS
        select TTY # Needed for line.c
index 5a2d71729b9ace7a67e8216f7d5ba61fddb471d7..2a8ac6829d42b187e20f6f2a7c80b400d19a423b 100644 (file)
@@ -1,6 +1,5 @@
 menuconfig MTD
        tristate "Memory Technology Device (MTD) support"
-       depends on GENERIC_IO
        help
          Memory Technology Devices are flash, RAM and similar chips, often
          used for solid state file systems on embedded devices. This option
index b1445b22a6def496d91bde16deb2b13a01a52915..994fa37a1d961c4c627d38c4df721e3e722c68dc 100644 (file)
@@ -46,10 +46,6 @@ config GENERIC_IOMAP
        bool
        select GENERIC_PCI_IOMAP
 
-config GENERIC_IO
-       bool
-       default n
-
 config STMP_DEVICE
        bool