Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rob Herring and committed by
Richard Weinberger
9de8da47 971e4aee

-6
-1
arch/um/Kconfig.common
··· 9 9 select HAVE_DEBUG_KMEMLEAK 10 10 select GENERIC_IRQ_SHOW 11 11 select GENERIC_CPU_DEVICES 12 - select GENERIC_IO 13 12 select GENERIC_CLOCKEVENTS 14 13 select HAVE_GCC_PLUGINS 15 14 select TTY # Needed for line.c
-1
drivers/mtd/Kconfig
··· 1 1 menuconfig MTD 2 2 tristate "Memory Technology Device (MTD) support" 3 - depends on GENERIC_IO 4 3 help 5 4 Memory Technology Devices are flash, RAM and similar chips, often 6 5 used for solid state file systems on embedded devices. This option
-4
lib/Kconfig
··· 46 46 bool 47 47 select GENERIC_PCI_IOMAP 48 48 49 - config GENERIC_IO 50 - bool 51 - default n 52 - 53 49 config STMP_DEVICE 54 50 bool 55 51