Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp6215450ybf; Thu, 5 Mar 2020 15:46:39 -0800 (PST) X-Google-Smtp-Source: ADFU+vsmUg2lygJMNS9VC6+GfZlXVlI3/QgiAZ3TQq6oCeFud5NP7gudNFVQXw4RkRjTL1cDBIqG X-Received: by 2002:aca:4c02:: with SMTP id z2mr706709oia.9.1583451999781; Thu, 05 Mar 2020 15:46:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583451999; cv=none; d=google.com; s=arc-20160816; b=BQlKCFd8p6hpPF7YtjJm92DJmrKgHiKpKxJdlOrEVvWzowWKYrWh8vIA+yCfKCYq5p VneCBO48v+kteLaHSnG8njkrNJd2B/yMAxAPNElXnF+RCzmvokZbRQQmv3jHwX4CXU43 yL21Qnq37xxslsN16AzzNDNzqpROr/9rdOF/GrA3d3kajlMoNPpMBErJ2ymP3TOMPeZD vRJMuIGSmnHoOhBV5qiAOLPeuPyNA1Oa9UXBpwqFhSRQL9jhyJddNAcp6MMUUZ2/fVRR ky/edMDFJ7+erq+tmBjeP3tn+x8v7CgjIKi76eHm+UtjMkXLH3ByDhP+b9VpZerwrnQf pvDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:to:dkim-signature; bh=Uk/NnFaedsIKaqmkbXLKmTyfgDQfxXne9D3bjNy3D+E=; b=s1REpTUHo6OgCT8x7ORUHl0WmIcQUg5KBlYkDIRJoU1rx7/g499W1gg1mTRcZ2pzSS 94xIFT6yZto3lLxVptNNerjg+mjjfZ4pxshoOtyXDYAyFMyJPtTzUw6z55vf15lk18ep 10pd66d/qsXJvY5jITmsQav7np5dfp+Nr0NoQOZlIIRul/MSG0cmEU8nPm8AggoRW2Wk 6Y5oVpnHzgOa2TfM1bl2lIHgvP+lvvmdlvNWEjbXvsQNOgviivI6A4WItcGk2SZg4rqN 8UkynBZNVoqy4AgzM5SgGa3/V3vjgDdcEWo7p6qFBy4PyYVMhHoYaHerFEmpUmr0MyHj Ef4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=DTuk1cbf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s13si268479otr.94.2020.03.05.15.46.27; Thu, 05 Mar 2020 15:46:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=DTuk1cbf; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726209AbgCEXpz (ORCPT + 99 others); Thu, 5 Mar 2020 18:45:55 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:46934 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726128AbgCEXpy (ORCPT ); Thu, 5 Mar 2020 18:45:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=Content-Transfer-Encoding: Content-Type:MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc: Content-ID:Content-Description:In-Reply-To:References; bh=Uk/NnFaedsIKaqmkbXLKmTyfgDQfxXne9D3bjNy3D+E=; b=DTuk1cbf1vv9XCLI/5QCLm8Ul3 /8ZYfLTvFfZQolGUsIY2hMtVYDrasGErdfLzyHTyQY38PEV/J1udmWuKGxnsaL/72WLRyVI1Zj4Ds iByEDkQpaccyht2YJ6bHb3ZLmVkMOY+Zc8mr6CS3ZZ12sXunNAqjaEb64fQ5gkhpugq1ukWgRX3vT JgbJSHh5VDrK/prAFW6hsRWB7zLRZfsTmEYuE/j5n1xKPisi6TzFqluAlCq4ai3gPQ+xCT/nuj6Xm MEHHelGlTGBoBX3vodJGlHo6EvN9RyrKNpT9xQtsp97PqGOlrrULvDxEAx1QP+uOX0zFzSbvIYSXR g2ZQZTYA==; Received: from [2601:1c0:6280:3f0:897c:6038:c71d:ecac] by bombadil.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1jA0Ba-0003cx-Qb; Thu, 05 Mar 2020 23:45:50 +0000 To: LKML , Greg Kroah-Hartman , Arnd Bergmann , Jiri Slaby From: Randy Dunlap Subject: [PATCH 2/2] tty: source all tty/*/Kconfig files from tty/Kconfig Message-ID: Date: Thu, 5 Mar 2020 15:45:50 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Randy Dunlap 'source' (include) all of the tty/*/Kconfig files from drivers/tty/Kconfig instead of from drivers/char/Kconfig. This consolidates them both in source code and in menu presentation to the user. Suggested-by: Arnd Bergmann Signed-off-by: Randy Dunlap --- Follows [PATCH] char: group some /dev configs together and un-split tty configs as [PATCH 2/2], where [PATCH (1/2)] is here: https://lore.kernel.org/lkml/4e90d9af-c1ec-020f-b66b-a5a02e7fbe59@infradead.org/ drivers/char/Kconfig | 5 ----- drivers/tty/Kconfig | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) --- linux-next-20200304.orig/drivers/char/Kconfig +++ linux-next-20200304/drivers/char/Kconfig @@ -7,9 +7,6 @@ menu "Character devices" source "drivers/tty/Kconfig" -source "drivers/tty/serial/Kconfig" -source "drivers/tty/serdev/Kconfig" - config TTY_PRINTK tristate "TTY driver to output user messages via printk" depends on EXPERT && TTY @@ -94,8 +91,6 @@ config PPDEV If unsure, say N. -source "drivers/tty/hvc/Kconfig" - config VIRTIO_CONSOLE tristate "Virtio console" depends on VIRTIO && TTY --- linux-next-20200304.orig/drivers/tty/Kconfig +++ linux-next-20200304/drivers/tty/Kconfig @@ -478,3 +478,9 @@ config LDISC_AUTOLOAD only set the default value of this functionality. endif # TTY + +source "drivers/tty/serial/Kconfig" + +source "drivers/tty/serdev/Kconfig" + +source "drivers/tty/hvc/Kconfig"