From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932790AbdJaTe7 (ORCPT ); Tue, 31 Oct 2017 15:34:59 -0400 Received: from mail.kernel.org ([198.145.29.99]:42644 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932583AbdJaTe5 (ORCPT ); Tue, 31 Oct 2017 15:34:57 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3FC842194A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh@kernel.org X-Google-Smtp-Source: ABhQp+Qy0AKVjW+ClB7ovVlQEOFrc03Qsqty4LuR7pL3D9uQei+SHY35H20AYVpbX/pF/XeFddi/N2GhswItOXLbEtY= MIME-Version: 1.0 In-Reply-To: <20171016221631.23472-1-robh@kernel.org> References: <20171016221631.23472-1-robh@kernel.org> From: Rob Herring Date: Tue, 31 Oct 2017 14:34:35 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] kconfig: kill off GENERIC_IO option To: "linux-kernel@vger.kernel.org" , Andrew Morton Cc: Jeff Dike , Richard Weinberger , David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Cyrille Pitchen , uml-devel , user-mode-linux-user@lists.sourceforge.net, "linux-mtd@lists.infradead.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Oct 16, 2017 at 5:16 PM, Rob Herring wrote: > 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. Andrew, there's no clear owner for this, can you take it? Rob > > Signed-off-by: Rob Herring > Cc: Jeff Dike > Cc: Richard Weinberger > Cc: David Woodhouse > Cc: Brian Norris > Cc: Boris Brezillon > Cc: Marek Vasut > Cc: Cyrille Pitchen > Cc: user-mode-linux-devel@lists.sourceforge.net > Cc: user-mode-linux-user@lists.sourceforge.net > Cc: linux-mtd@lists.infradead.org > --- > arch/um/Kconfig.common | 1 - > drivers/mtd/Kconfig | 1 - > lib/Kconfig | 4 ---- > 3 files changed, 6 deletions(-) > > diff --git a/arch/um/Kconfig.common b/arch/um/Kconfig.common > index 85f6dd204ab6..5514ec52108f 100644 > --- a/arch/um/Kconfig.common > +++ b/arch/um/Kconfig.common > @@ -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 > diff --git a/drivers/mtd/Kconfig b/drivers/mtd/Kconfig > index 5a2d71729b9a..2a8ac6829d42 100644 > --- a/drivers/mtd/Kconfig > +++ b/drivers/mtd/Kconfig > @@ -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 > diff --git a/lib/Kconfig b/lib/Kconfig > index b1445b22a6de..994fa37a1d96 100644 > --- a/lib/Kconfig > +++ b/lib/Kconfig > @@ -46,10 +46,6 @@ config GENERIC_IOMAP > bool > select GENERIC_PCI_IOMAP > > -config GENERIC_IO > - bool > - default n > - > config STMP_DEVICE > bool > > -- > 2.11.0 >